Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Font to bold, italic, underline only
Adam Honek - 6 May 2006 11:58 PM - 3 messages
Okay, Assinging the font and its style (bold, italic etc.) using the font dialog is easy such as: FontDialog1.ShowDialog() txtEmailBody.SelectionFont = FontDialog1.Font But how does one change the selected text to bold, italic or underlined without using the font dialog? ...
Score Clearing a custom array
Adam Honek - 6 May 2006 10:51 PM - 14 messages
Instead of the ZeroMemory API what would one use in VB.NET to clean an array using a custom structure? The .clear isn't a member of it by default. Any suggestions? Thanks, Adam ...
Score 'OpenFileDialog crashes for no reason?
Adam Honek - 6 May 2006 9:17 PM - 9 messages
This really is my unlucky day it seems. I'm getting an unhandled exception error on the below: I've changed it without the Me and not a chance, still crashes the app. All I want to do is get a file name hence file path of a selected file. ...
Score Text into HTML
Adam Honek - 6 May 2006 8:45 PM - 4 messages
Hi, Is there any way to get text written in a richtextbox to convert into HTML or must we go about it the long way? Any other control support text entry then conversion to HTML? Thanks, Adam ...
Score regular expression pattern ?
Jon Paal - 6 May 2006 8:05 PM - 3 messages
need pattern to determine if value is an integer (0-9 digits only) > 0 Regex.IsMatch(<Input>, "????") ...
Score regular expressions
Jon Paal - 6 May 2006 7:18 PM - 5 messages
need to verify a string against reg exp. to allow only characters and apostrophe and hyphen using : ======== Function RegExpValidate(sInput,sPattern) as boolean    Dim RegexObj as Regex = New Regex("regularexpression")    return Regex.IsMatch(sInput,sPattern) End Function ...
Score SMTP won't send until thread terminates
Adam Honek - 6 May 2006 6:30 PM - 7 messages
Okay. This is a little strange but here goes. I wanted to send emails and hence wrote the first sub below. It worked however it would NOT send the email UNLESS I closed the application (hence terminated the main thread). ...
Score net.mail question
Bob - 6 May 2006 5:48 PM - 3 messages
In 2003 you could use system.web.mail to send e-mails as long as IIS server was installed on the computer, you would be able to send e-mail fairly easily. Since this has been made obsolete and MS is recommending we use ...
Score ToolStripDropDownButton event
Adam Honek - 6 May 2006 5:31 PM - 2 messages
Hi, I have a toolstrip on a form. One of the parts that comprise this toolstrip is a ToolStripDropDownButton I'm trying to catch these events but somehow it's not working how. I'm using the code below. How do I do it? I am right converting it into a ToolStripDropDownButton ...
Score Which one is the Bluetooth DLL?
Boki - 6 May 2006 5:13 PM - 5 messages
Hi All, I am going to use some Bluetotoh API, should I include some special DLL or just call it directly? Best regards, Boki. ...
Score Problem with an MSDN article sample code
Bob - 6 May 2006 4:37 PM - 2 messages
I just downloaded the sample for the configure this article from msdn.microsoft.com/msdnmag/code06.aspx. Executing the exe I unzipped it to my folder c:\projectsVB2005\ and it created a subfolder Configuration. All the stuff looks like its in there OK. When I try to see the form view of ...
Score ADODB custom wrapper
Wonder - 6 May 2006 3:46 PM - 7 messages
We have a VB.NET project with a reference to ADO 2.5 When I open it on my machine, I get the following build error: "The referenced component 'ADODB' has an updated custom wrapper available." When I double click on it, I get the following dialog appear: ...
Score Silly combo box question
Adam Honek - 6 May 2006 3:27 PM - 6 messages
Hi, I've looked over and over and in MSDN 2005 and just can't find what is a really simple answer. How do I select the first value in a combo box to be shown? I tried the .selectedindex -1 but it doesn't work. ...
Score Visual web developer question.
effendi - 6 May 2006 2:32 PM - 3 messages
Hi everyone I am new to VWD, I am creating a simple web form which I converted from a HTML page. I have two questions: 1 How do I coverted HTML pages to an aspx project without cutting and pasting the source into a new aspx page. ...
Score Threading so restricted?
Adam Honek - 6 May 2006 1:15 PM - 5 messages
Hi all, Is it honestly true we can't start threads in VB.net 2005 if the sub or function has paratemeters like functioname(x1 as string, x2 as long) etc? This so restricts launching new threads. Global variables the only option? ...
Score Variable with other variable
Mrozu - 6 May 2006 11:49 AM - 4 messages
Hi How can I include in name of my variable  value of other variable? I have following code: For x = 0 To 10             Dim column As New DataGridTextBoxColumn ...
Score Debug Vs Release Mode
c_shah - 6 May 2006 11:39 AM - 2 messages
I am a SQL DBA just started to learn Visual Basic 2005 so I apologize for this very simple question. What's the  fundamental difference between debug mode vs release mode. I am using Visual Basic Express edition when I build my project it is ...
Score Win32API - FindFirstFile() in VB.NET
vighnesh - 6 May 2006 10:43 AM - 4 messages
Hello Everyone I am developing a project in VB.NET in which I need to use Win32 API function FindFirstFile()/FindNextFile()/FindClose() The same code is wroking fine in VB 6.0 , but when I used the code in VB.NET ...
Score My app as system process
Mrozu - 6 May 2006 10:20 AM - 4 messages
Hi How I can set my app to be "unkilliable" in taksmanager->processes? I mean that user can't kill it there. Thx Mrozu ...
Score How getting eventhandler attached to an event?
Carlo (mcp) - 6 May 2006 9:19 AM - 6 messages
Good morning I have this lines:           AddHandler MyControl1.Parent.Paint, AddressOf PaintParentHandler           AddHandler MyControl2.Parent.Paint, AddressOf PaintParentHandler           AddHandler MyControl3.Parent.Paint, AddressOf PaintParentHandler ...
Score Simple word count
Jonesgj - 6 May 2006 6:00 AM - 7 messages
Hi, Whats the best way to do a word count of the content of a rich text box? Thanks in advance Jones GJ ...
Score My.Settings object set setting by name?
Dachshund Digital - 6 May 2006 2:35 AM - 2 messages
I know there must be a way to do this... in .NET 2.0? I have a situation where I know the name of the setting, and want to pass it into a function, and set or get the corresponding setting. ...
Score Thread terminating instantly
Adam Honek - 6 May 2006 1:43 AM - 3 messages
Hi all, I'm launching a form in a new thread as follows below. The problem is the form exits straight away. How do I cause it to stay open until the form is closed? The suspend won't work since I need to get UI events from the form controls. ...
Score Simple TCP communications examples
jward448 - 6 May 2006 1:42 AM - 3 messages
Hello All, I have to write a procedure that does the following: - Connect to a TCP port on a remote computer that has a simple listener application already installed. - Send a series of strings and end by sending a NULL '\0' ...
Score Move emails (.msg files) between an Outlook inbox and a file direc
tom north - 6 May 2006 12:16 AM - 2 messages
What I am after would be a VB script perhaps using CDO to access the inbox of a mailbox, and push or pull messages in or out to a flat file directory on disk ...
Score How to simulate mouse click in vb.net
Glenn Palomar - 5 May 2006 11:43 PM - 4 messages
Hi, Instead of using user32 API for simulating mouse click (left down, left up, etc.), are there any .net function/class that i can use? Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Int32, ByVal dx As Int32, ByVal dy As Int32, ByVal cButtons As Int32, ByVal dwExtraInfo ...
Score get all controls collections
Jon - 5 May 2006 10:54 PM - 2 messages
Hi, is there a quick way to get ALL the controls within a form? I mean ALL the controls include all those in a Panel too. and even those within a few Panels. basically i have a function to change the control's size and position, i ...
Score How to move the mouse around in vb.net
Glenn Palomar - 5 May 2006 9:53 PM - 3 messages
Hi, I'm trying to use the following user32 API's in vb.net: Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long) ...
Score single to string problem
ibiza - 5 May 2006 9:40 PM - 4 messages
Hi, can someone help me with that, it's driving me nuts... ----- dim s as single = 42.5 dim msg as string = s.tostring() ' now msg is supposed to hold 42.5 but NO it's rather containing 43 ----- It seems the tostring() function rounds the number but I don't ...
Score Error setting CSV to display text
llively2 - 5 May 2006 6:10 PM - 3 messages
Object reference not set to an instance of an object. pstrfields = psrdline.Split(pchrDelimiter) What am I missing here? Thanks in advance, Lynn ...
Score Pass string from vb.net 2005 to c dll
Bob Simoneau - 5 May 2006 5:57 PM - 4 messages
I have a function call to a C DLL which takes a string as a parameter, and modified the string.  I keep getting the following error.  I beleive I have to marshal the string, but I am unsure how to do that. ...
Score VB 2003's icon editor
cj - 5 May 2006 5:13 PM - 4 messages
I've added an icon to my project and am looking at the icon editor window.  I haven't done anything yet.  My question is in the top left of the colors toolbar down the left side of the screen, there are a couple ...
Score How do I take a screenshot in VB.net 2005
Bob - 5 May 2006 4:09 PM - 4 messages
Dim objRectangle As Rectangle = Screen.PrimaryScreen.Bounds Dim objBitmap As New Bitmap(objRectangle.Right, objRectangle.Bottom) Dim objGraphics As Graphics objGraphics = objGraphics.FromImage(objBitmap) Last line wont evaluate in Vs 2005, worked OK in 2003 Thanks for help Bob ...
Score Vb Net2005 putting thread to sleep
Bob - 5 May 2006 3:59 PM - 3 messages
The line Thread.CurrentThread.Sleep(intRetryInterval) in 2005  (worked OK in 2003, I think) gives me a warning that Access of  Shared Member, Constant Member, enum member or nested type through an instance, qualifying expression will not be ...
Score Invalid format of DLL
TrevJ - 5 May 2006 3:55 PM - 3 messages
I've compiled a number of projects that have a dependency on a DLL containing the projects' dataset definitions.  They're all VB.NET projects and compile cleanly under one solution in Visual Studio. I then move the resultant EXEs and DLLs to the company's server from my ...
Score Read Emails on Exchange server without OL client
Bryan Dickerson - 5 May 2006 3:47 PM - 63 messages
Is there a way, with VS 2005 and FX 2.0, to read a given inbox?  I need to write a 'monitor' program and my boss is convinced, as is always his first gut reaction, that we need to go buy a 3rd-party package to just read an ...
Score MessageBox.Show => disable the alert sound
sebastien1101 - 5 May 2006 3:42 PM - 3 messages
how to disable the alert sound (windows system) when a messagebox.show appear ? ...
Score VB2005 timing/speed problem
Galen Somerville - 5 May 2006 3:42 PM - 5 messages
I have a real timing problem. This involves getting data from a USB device via an ActiveX dll and drawing trace lines on the screen via a UserControl. The USB device sends six sets of pixel info so twelve lines have to be drawn ...
Score Using a C DLL for vb.net 2005
Bob Simoneau - 5 May 2006 2:44 PM - 2 messages
I am trying hard to utilize a C DLL from my VB.net code.  I have had luck with most of the translations.  The following 5 function have been giving me a real hard time, particularly the last one which has a **.  Any help would ...
Score 2003 to 2005 conversion problem
Bob - 5 May 2006 2:02 PM - 3 messages
In VB.NEt 2003 I had a line Dim strTemp As String = ConfigurationSettings.AppSettings.Get(key) Converyting to 2005 Gives a warning that this is obsolete. they say its been replaced with System.configuration.configurationManager.appsetings but writing that in ...
Score help logging events to txt file
cj - 5 May 2006 1:54 PM - 3 messages
I'd like some advise on a fool proof logging system.  I have a windows app and need key events to be logged to a text file.  Here are the REQUIREMENTS I have been given--generally requirements I'm given are ...
Score IDE hangs pinning toolbox so it's open
cj - 5 May 2006 1:30 PM - 2 messages
I usually leave my toolbox on the left side set to autohide.  Sometimes if I'm doing a lot with it I want it to remain open.  So I move the mouse over it and when it's open I click the tack to keep it open.  Not ...
Score Get control's absolute/screen left/top?
bhc - 5 May 2006 1:27 PM - 3 messages
hi all- how can i retrieve the screen position of a control on a form?  i don't want the answer of "check form's top property + control's top property", if i can get away with it - i'm particulary interested in a ...
Score File Names: List Long file Names from Database List of short file names
Ben - 5 May 2006 12:58 PM - 5 messages
Hi We have a list of file paths and short file names in our database. We need to loop through them all, picking up the long file name from the file itself and check that the long file name does not include a "~" ...
Score Compiling internally instead of as a DLL?
Hugh Janus - 5 May 2006 11:06 AM - 4 messages
Hi all, I have added a class library project to my VB solution.  All works fine but when I compile the project, the compiler creates an external DLL file.  What I would rather it do is compile the class library project ...
Score Recursive WebRequest.Create()
Sathyaish - 5 May 2006 10:04 AM - 5 messages
The WebRequest class implements IWebRequestCreate and hence, a method Create. This method has two other overloads, one of which is a private method. Here's how it looks: public static WebRequest Create(string requestUriString) public static WebRequest Create(Uri requestUri) ...
Score Call Lisp Program from vb.net
Hema - 5 May 2006 9:50 AM - 6 messages
How to call a lisp program from vb.net thanxs in advance ...
Score System.Uri
Sathyaish - 5 May 2006 9:33 AM - 3 messages
In the System.Uri class I do not understand the following properties very well, and I suspect that they have not been implemented because they yield static results on different input. 1. IsFile: Always returns false. 2. UserEscaped: I am not sure this property works either, or what it is ...
Score System.Uri.UserEscaped
Sathyaish - 5 May 2006 9:13 AM - 3 messages
I need help understanding this property. It totally escapes me, pun intended. The documentation says: <DOCUMENTATION> Summary Gets a Boolean value that indicates whether the URI information used to construct the current instance was escaped before the current instance ...
Score WebBrowser WindowClosing
Vittorio - 5 May 2006 8:28 AM - 8 messages
Hi all, I am trying to avoid that a webbrowser object will be closed by a window.close() javascript. Trying to use the WindowClosing event i discovered that it is not fired. I am using VB.NET 1.1 and it seems that several events have the same ...
Score Component version question
Antonio T. - 5 May 2006 7:51 AM - 5 messages
Using VS 2005... Will a component (control) written for net 1.1 work in a end user computer with just net 2.0 installed? TIA. ...
Score Datagridview problem Help Needed
sapkal.manish - 5 May 2006 7:20 AM - 2 messages
Question : How can I find actual row position of DataTable in DataGridView when DataTable is sorted / My source code like this Private WithEvent dgvInwDet as new DataGridView Private WithEvent DataTable as New DataTable Private Sub frmInward_Load(ByVal sender As System.Object, ByVal e As ...
Score Simple questions about interfaces
Water Cooler v2 - 5 May 2006 7:00 AM - 7 messages
Sorry! I know these are basic, stupid questions, and I already knew the answers to these, I swear, and I have used them countless times, I swear, but at the moment I am fighting a bout of amnesia and it is ...
Score how to prevent the controls in a form and form itself to scroll?
MH-2004 - 5 May 2006 4:11 AM - 3 messages
Hi All, I have a MDI form application. In a child form I placed a bunch of NumericUpDown controls. The problem happens when I use the mouse scroll button, the value in the NumericUpdown has changed and the form also scrolls ...
Score Declaration Expected
eBob.com - 5 May 2006 2:26 AM - 3 messages
I've done a lot of programming but very little OOP.  Would someone be kind enough to explain to me why I get a "declaration expected" on this statement: anythingarray(0) = new anything(3) Thanks,  Bob Public Class Form1 ...
Score copying records
Jeff Brooks - 5 May 2006 2:18 AM - 7 messages
I need to copy a record one access record into the same table.  I just need to modify a couple fields that the user will change.  Im sure there is an easy way to do it.  I have started just reading the data and writing a SQL ...
Score datetime field filled
Carlos - 4 May 2006 9:05 PM - 2 messages
Hi all,   I would like to populate a datetime filed in sqlserver assigning the System.DateTime.Now value. Hoever, it raises an exception. Whic function can I use to accomplish such task? Thanks,                         Carlos ...
Score For Each Loop Not Working
Matt - 4 May 2006 8:15 PM - 3 messages
I am in the process of creating a custom .NET object (this is my first one). I have created a few classes and some of them are collections. When I try to iterate through a collection I receive the following error on the For each ...
Score HttpWebRequest - Timeout
rzaleski - 4 May 2006 7:13 PM - 9 messages
I am trying to do a HttpWebRequest/HttpWebResponse handshake.  When I do it on my local computer, it works fine.  When I execute the same code on the server, I get a timeout.  I tried putting the request url ...
Score Sql Code generation tools
helpful sql - 4 May 2006 7:07 PM - 16 messages
Hi all,     Are there any good Sql code generation tools out there in the market? If not can you please give me tips or sample code for creating one? I need to automate code generation for data integration. Here is what I ...
Score Do nothing but wait loop..
IdleBrain - 4 May 2006 4:13 PM - 9 messages
Hello all, The sleep() method hangs up the application and does not respond to events. So, I wrote a small delay loop that will allow the application to respond to events. 'Use Delay(500) to delay the application for 500ms. ...
Score set focus from treeview to control
mongphong28 - 4 May 2006 3:18 PM - 2 messages
Hi, I'm using a treeview as a menu, and when the user clicks on a node I want the focus to set to a control (ie textbox) in a panel to the right. The problem I'm having is the focus will not stay on the ...
Score Internationalisation Project VB.net 2005 RESX
FBS - 4 May 2006 2:27 PM - 6 messages
Hello I'm currently working on a winform project that must be in 3 languages (French, English et Polish). I know that I have to work with *.resx files, (1 for each language, 1 for the default) but also 1 for each Form. ...
Score ReadXML after File Copy
Hans Munich - 4 May 2006 1:58 PM - 6 messages
Szenario: User selects a XML File ("products.xml") to import newest Data. Data should replace Data in an existing Acess File which is connected via Dataadapter (daadaptFLR). Bevore the Existing Data are deleted with RunSQL("DELETE * From Tbl_Fl_Rundleitung"). Function the Works: ...
Score Reference count?
Fred Hedges - 4 May 2006 10:46 AM - 2 messages
I'm wondering if a tool exists that will integrate with the VS 2005 debugger, such that when I set a breakpoint I can inspect a reference and see how many other references exist to that object.  I'm sure there is an ...
Score VB script to VB.Net back to VB script
Rob - 3 May 2006 9:56 PM - 2 messages
I am working with an ERP package that has the capability to pass variables to and from VB script.... Is there a way from within VB script to call a vb.net program AND pass it variables from the VB script AND return variables from the vb.net program to ...
Score Strip chars from a string
ImageAnalyst - 3 May 2006 7:24 PM - 2 messages
Tom, Nikolay: That code doesn't work, at least not in VS2005.  What happens is that when you replace with VBNullChar, it basically chops off the string from that point onwards.  So Sna?*|fu" would become Sna instead of ...
Score User permission problems. sqlconnection
sflynn - 3 May 2006 7:21 PM - 10 messages
I've just created a new program in Visual Studio 2005, Visual Basic. I can publish, install, and run the program just fine as long as the user is a member of the "Domain Admins" group.  My problem is when a ...
Score On the fly formatting of textbox contents
cj - 3 May 2006 7:17 PM - 5 messages
I have textbox1 that takes a phone number xxx-xxx-xxxx.  Is it possible to have it start off looking like    -   -    and when someone types the number fill in around the -s? ...
Score NULL Value - Specified cast is not valid
fniles - 3 May 2006 6:56 PM - 2 messages
I am accessing MS Access db with tblA whose column UNABLE can have NULL value. When I access UNABLE whose value is null, I got an error " Run-time exception thrown : System.InvalidCastException - Specified cast is not valid." either when I do ...
Score How can I embedd graphics in Outlook Email without using MAPI
Siv - 3 May 2006 4:50 PM - 4 messages
Hi, A little while ago I wrote a small program that allowed the user to view products from a database.  The database holds the details of the products which can be viewed via a form and additionally pictures of the product are ...
Score CALL a dialog form just after the main form is loaded.
Windy - 3 May 2006 4:48 PM - 2 messages
Hi all,     I would like to call a dialog form from the main form, just after the main form is loaded. however, if i put the code at either Form_Load or FormActivate, they both cannot achieve it, as the main form is not visible yet, and with the dialog ...
Score Register DLL for COM interop and use it in ASP
Nicke - 3 May 2006 4:43 PM - 3 messages
I have accomplished this on my machine with vs2005 but how can I deploy the dll on a web server for example? Has anyone made a deployment project that does this? this is my class: <ComClass(StringEncoder.ClassId, StringEncoder.InterfaceId, ...
Score Ho do I create a program that can get recognized as a printer driver and installed with the add prin
Bob - 3 May 2006 4:29 PM - 4 messages
I need to create a program that is essentially a special fax sender using multi line Dialogic cards. I figure that the best way to do this so that it can be used from any app is to create someting that can be installed as a ...
Score how to read a tiff file in vb.net
sai_ksvsk - 3 May 2006 4:16 PM - 2 messages
hi every body I like to know how to open a tiff file and read it if the tiff file. actually my problem is, if a tiff file consists of text type of data then how to get that information character by charecter. ...
Score ComboBox values and Items
FaWiizio - 3 May 2006 3:37 PM - 3 messages
Is it possible to add an item to a combobox this way: ComboBox1.Items.Add("Cool!") AND assign to this new Item a unique index ? As in HTML <option value="1">Cool</option> I would like to override standard indexes (0,1,2,3,...) and write mine. ...
Score incompatibility with dotnet 2.0 and Outlook Business Contact Manager 2003
J - 3 May 2006 3:22 PM - 6 messages
I have installed dotnet 2.0 on two machines with Outlook BCM, and both have caused problems with BCM loading. The first i restored the machine to before the dotnet 2.0 was installed, and the second i removed BCM after which ...
Score Help with creating Installation package under VB2005 Express Ed.
James - 3 May 2006 2:10 PM - 3 messages
Hi all, I am currently working under Visual Basic 2005 Express Edition on Windows XP Pro. with SP2 and .NET 2.0. Unfortunately, Setup and Deployment projects are not included in VB2005 Express Ed. I wondered how can I deploy my program on those machines running ...
Score Grid View and recordSet
Ed - 3 May 2006 1:43 PM - 2 messages
hi everyone, maybe someone can give me a hand here. I am working with vb 2005 and i have a gridview that i am loading data from a recordset. I have the recordset returned from the query and i am loading the data, but the problem is... this recordset is going to hold about 25,000+ records and the grid view and form "goes to sleep" and i can click on anything. I would like the user to be able to scroll the grid view and maybe min and max the form while the data is being loaded. i have tried grid.refresh() and me.refresh() but it jsut refreshed the data, it does not let the user scroll the grid view ...
Score System.Configuration.ConfigurationSettings.AppSettings.Get("...")
RSH - 3 May 2006 1:36 PM - 3 messages
Hi, I have a situation where I am attempting to print the contents of an AppSettings property in the aspx file of my website.  Basically here is the code I am using: <% Response.Write("Email:" & System.Configuration.ConfigurationSettings.AppSettings.Get("WebMasterEmail") ...
Score help in search&replace for ArrayList
Jon - 3 May 2006 1:29 PM - 5 messages
Hi, I have an arrayList that holds an ArrayObject with (Qty & ItemCode). e.g. arrayList.Add(New ArrayObject(Qty, ItemCode) However, I want to search the arrayList and check if the ItemCode already exist on the arrayList, then simply increase the Qty by 1. ...
Score Question about the data adaptor Fill method.
Mark - 3 May 2006 1:21 PM - 4 messages
Hi - The da.Fill(ds, "TableName") method is a really nice way to bring data from a database into your VB.Net application. My question is this: Is there an equally nice method to send data theopposite way - from a table ...
Score Troubled saving a clipped region from an image to disk as transparent
Mark Denardo - 3 May 2006 9:12 AM - 3 messages
Hi, I need some expert GDI+ person to help me with my RoundOffImage Function: What I'm trying to do is take in an image, crop off the edges around an ellipse region I set up, and then return the cropped image from the ...
Score Help! Something adds 1 hour to my datetimes! :-S
Pieter Coucke - 3 May 2006 8:28 AM - 3 messages
Hi, For some reason, somewhere in my application 1 hour is added to my dates, depending in which time zone the application is run... Because I don't have a clue where this happens, I posted this to the three ...
Score clearing all the lables on a form in vb.net 2005
be.special - 3 May 2006 8:17 AM - 7 messages
hi! i have the following code: for each control ni controls dim tb as lable if typeof ctl is lable then tb = ctype(ctl,Lable) tb.text = string.empty end if next but in .net 2005, i can't write typeof . is there another syntax for it? ...
Score Convert Excel file to base64
Arvind P Rangan - 3 May 2006 6:44 AM - 2 messages
Hi, Trying to convert excel file data to base64 for encryption. Can anyone help me on this. Thanks Arvind ...
Score Finding write access to a file
Ramachandran m s - 3 May 2006 5:39 AM - 2 messages
Hi,     Can anyone tell me how to find that a file has write permissoins ??     like suppose i have a pdf file and i have opened in the adobe acrobat, that file will be locked. So i need to know that if that file ...
Score Attempted to read or write protected memory
Seok Bee - 3 May 2006 4:03 AM - 5 messages
Dear Experts, I have created a script to extract the Event Logs from the system into an excel sheet. The logs are separated into 2 worksheets (Application Log and System Log). After this excel file being created, it will be sent out via ...
Score Saving a data table to a MS Access database
Mark - 3 May 2006 2:01 AM - 5 messages
Hi - I've a data table that I want to save to an external Access database. I'm interested in sample code that would perform this save. Thanks, Mark (VB.NET, .Net framework 1.0) ...
Score .exe from within a form
Al_C - 2 May 2006 11:36 PM - 5 messages
Is there a control that permits me to run an exe file inside a form? I've tried the process.start approach and it doesn;t seem to do what I expected.  There doesn't seem to behave the way I expect (similar to a C ...
Score Phone recording device
Samuel Shulman - 2 May 2006 10:38 PM - 3 messages
Hi I am looking for a component that can be integrated to a VB.NET program that can dial a number using a normal telephone line, record the conversation and allows saving of the content so it can be played later ...
Score Outlook session on client PC
Bill Nguyen - 2 May 2006 9:59 PM - 4 messages
How can I check if an Outlook instance is running on a client PC. If it is, I want to use it to send mail (not creating a new instance). Thanks Bill ...
Score Help trimming off filename from path
PvtPile - 2 May 2006 9:56 PM - 9 messages
I've got a form where i need to pull both the directory of a filename and the directory with the filename of an .inf file... I figured the easiest way to do this was to have an <input id=test type=file ...
Score Can VB 2003 use .net 2.0 framework?
cj - 2 May 2006 8:27 PM - 6 messages
Can VB 2003 use .net 2.0 framework? ...
Score printing
Pascal - 2 May 2006 7:22 PM - 2 messages
Hello I would wish to print on a sheet with the A4 format forty calculations which would be generated by the computer. (I had to create a program in vb6 who did that thanks to an additional component called nifprint here With vb 2005 ...
Score How To Create Login Password Protected Database
clusardi2k - 2 May 2006 6:43 PM - 7 messages
Hello again, I have to go home and read up on Access. But, I have read else-where in this newsgroup that I can just save the password in the database under scrutiny. Wouldn't it be wasteful to create a password column for all database ...
Score myMAPISession.SignOn()
cj - 2 May 2006 6:08 PM - 5 messages
Wouldn't you know it I get all the code CMM provided typed into VB and VB recognizes everything but when I run it and it gets to myMAPISession.SignOn() it brings up: Setting up Internet Mail The Internet Connection Wizard has detected previously installed e-mail ...
Score Novice: VB 8 and Access Databases
clusardi2k - 2 May 2006 5:55 PM - 3 messages
Hello, I'm new to VB 8. But, I want to use VB to communicate with a database containing, let's say, 15 fields. So, I've been reading chapter 18 of the book "Microsoft Visual Basic 2005" and was wondering if you can ...
Score Create Registry Entry On Install.
Tull Clancey - 2 May 2006 4:12 PM - 6 messages
Hi.  Does anyone have a way of creating a registry entry during the VB Net 2003 installation process?  I can't rely on the application adding the entry on first run. Any help gratefully recevied. Cheers, Tull. ...
Score How do you launch a vbscript within vb.net?
Patrick Dugan - 2 May 2006 3:55 PM - 4 messages
I am trying to launch a vbscript from within vb.net (vs2005) The script itself requires a parameter of a filename to process. I have tried: Dim P As Process = Process.Start("C:\Temp\MyTest.vbs", "MyFileToProcess.txt") also Dim P As Process = Process.Start("C:\winnt\system32\cscript.exe", ...
Next » 2 3 4 5 6 7 8 9 10