Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
all groups > vb.net > may 2006 > threads for thursday may 25

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

WebBrowser Control Frame Documents
Posted by Nick at 5/25/2006 11:12:53 PM
Hi there, I'm having great difficulty obtaining all of the document data for a framed HTML document. Once the documentcomplete event has fired for the last time I am analysing the webbrowsers document property. Unfortunately in a framed HTML document this is merely the frame set...more >>


How to translate C++ 'for' loop into VB.NET?
Posted by gmou at 5/25/2006 9:44:23 PM
Dear group, I am building a translator from C++ into VB (and into C#). At the moment, I have a hard time figuring out the equivalent of a 'for' loop in VB. Given C++ code: for( int i=0; test_fct(i); increment_fct(i) ) { ... // body of the loop } Would you opt for a 'While..End ...more >>

Button Image
Posted by ravikkancharla NO[at]SPAM gmail.com at 5/25/2006 8:10:44 PM
Hi, I dont have any default images to select for toolbar buttons. How can i add standard images? I am very new to building a Form. Can someone please help??? Ravi ...more >>

ADO.Net expression - single quotes in strings
Posted by Sergey Poberezovskiy at 5/25/2006 6:06:01 PM
Hi, I need to apply a filter on my DataTable to search for name like O'Brian. And I cannot work out the syntax. If that was a simple select I could use '' (two single quotes), but I need to assign the RowFilter property to an appropriate value. Any help is greatly appreciated ...more >>

Text color list box
Posted by Mike Johnson at 5/25/2006 5:52:02 PM
I'm using VS Basic.net 2003 How can I change the foreground color of the item being added to a listbox?...more >>

mztools
Posted by Brahm at 5/25/2006 5:41:12 PM
Guys, is there anything like mztools to vb 2005 ? Daniel ...more >>

error handle
Posted by Brahm at 5/25/2006 5:38:55 PM
Hey Guys! I am moving from vb6 to vb2005 I was using: on error go lbl_error: code.. code.. exit sub or function lbl_error: .code code but it vb 2005 we have try.. catch.. finally end try. In your opinion wich is better for performance and code reading ? ...more >>

Best Suite Documentation
Posted by sh at 5/25/2006 3:53:16 PM
I'm relatively new to VB.NET, although I've been a VB programmer for over 10 years. I'm looking for a controls suite (something like Infragistics or ComponentOne). However, I've been burned before with products that have poor documentation and I don't want to get burned again. I'm not looki...more >>



How to use FTP in vb.net
Posted by anonymowho at 5/25/2006 3:35:01 PM
I am fairly new to VB.net. I was wondering if there is any classes already defined within the .net framework that will let me move some of my files dynamically to an FTP server. I want my .net application to keep checking a particular folder on a Windows server and everytime there is a new...more >>

converting the use of interfaces under vb6 to vb.net
Posted by Terry at 5/25/2006 3:26:01 PM
I am converting (attempting) some vb6 code that makes vast use of interfaces. One of the major uses is to be able to split out Read-only access to an obect. Let me give you a simple (contrived) example: In Project RoObjDefs: RoPerson.cls file: Public Property Get FirstName() as String Pu...more >>

How to specify both <EventClass> and <Guid> Attributes on a class
Posted by MikeL at 5/25/2006 3:12:27 PM
What is the syntax for declaring both <EventClass> and <Guid> attributes on a class? The following causes an error in the class declaration: Imports System.Runtime.InteropServices Imports System.EnterpriseServices <Guid("0EA77155-29EA-4f1b-870C-B6D7287E65EC")> _ Public Interface IM...more >>

Textbox's text cut short
Posted by creator_bob at 5/25/2006 3:04:45 PM
How do I detect if a text box had its text cut short? When I dynamically create text boxes, any with incomplete text I would like to add its text to a tool-tip. ...more >>

ClickOnce deployment problem!
Posted by Bill Nguyen at 5/25/2006 2:12:33 PM
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (...more >>

Problems with URL Syntax
Posted by Jerry Spence1 at 5/25/2006 2:12:26 PM
I am trying to get a jpg image as follows: Dim Client As System.Net.WebClient = New System.Net.WebClient Client.DownloadFile("http://root:<password>@192.168.0.99/cgi-bin/video.jpg", MyFilename) However I understand that IE no longer supports this 'in-line' presentation of the username and...more >>

word automation
Posted by rgreen at 5/25/2006 1:39:58 PM
I'm trying to automate word from my VB.NET app. I have a document I want to use as a template (actually its an invoice). I've got placegholder text in the document like this {{address}} I'm using find and replce to populate my invoice with text from my application. What I'm having t...more >>

make a form shared - called from another form - how?
Posted by Rich at 5/25/2006 12:59:02 PM
Hello, I have a child form in an Mdi Parent form. I have 5 menu buttons on the Parent that I use to show the child form. Originally, in the Parent form on load event I had this line of code frmChild.MdiParent = Me But then, I added an argument to the constructor of the child form. No...more >>

Automating restart of PC
Posted by cj at 5/25/2006 11:36:16 AM
I'm using VB2003 running on Windows 2000 5.00.2195 Service Pack 4 and Windows XP Pro Version 2002 Service Pack 2 PCs. I understand the Windows API offers a way for the program to reboot the pc w/o asking me any questions. Just shut it down and restart it. Can someone tell me how to do thi...more >>

preventing default value in vb.net
Posted by Justin at 5/25/2006 11:18:17 AM
Is there any way to prevent VB.net to give default value to a variable (changing settings what not...)? For example Dim test As Integer test = test + 1 the statement "test = test + 1" should give me an error since variable test was never initialized. I want to prevent giving default...more >>

Windows Service using VB.Net automatic startup problem !
Posted by Ravi Shankar at 5/25/2006 10:37:02 AM
Hello, I have written a service using VB.Net which is basically a asynch socket listener. I have been able to install it successfully. Using the Service Control Manager I am able to start & stop the service successfully. Once started, the service is responding to requests. The service runs ...more >>

catch the process terminate from the task manager
Posted by Strah at 5/25/2006 9:06:01 AM
Is there a way to catch the event of terminating the application from the the processes tab in task manager? I have created windows app, and if a user termintates the app in the task manager, I'd like to be notified. I tried few combinations of Close, Closing, Application.Exit method, Appli...more >>

Resizing
Posted by Francillard at 5/25/2006 8:47:02 AM
I´m trying to find out the way to rezise a continer when mi form it´s maximised whitout losing the size relation betwen them. if there any body that can help me about i'l be apreciated. thnks...more >>

Raising Events in Modules?
Posted by Amjad at 5/25/2006 8:00:02 AM
Hello, I have a main Windows Form and a Module class in a Solution. I'd like to know if a Timer.Tick event for example get raised in the Module when I'm running the Windows Form? The same thing can be asked when I'm using the SerialPort control in the module; I want to know if the Serial...more >>

FAST date string conversion ?
Posted by pamelafluente NO[at]SPAM libero.it at 5/25/2006 7:26:25 AM
A quick question, I have a string with a date in european format, e.g. "30/4/2006". What is the FASTEST way to produce the corresponding string in USA format "4/30/2006" and asian format "2006/4/30" ? -pam ...more >>

While Running How To Restart Application As If Clicked Executable
Posted by Christopher Lusardi at 5/25/2006 7:21:58 AM
After running my application for a while, how can I restart it as it I just clicked on it on my desktop to run it? Thank, Christopher Lusardi ...more >>

playing & re-playing 7 .wav files
Posted by Mr. Murad Jamal at 5/25/2006 6:52:02 AM
Dear guys, I have 7 .wav files in C:\ directory [named: 1.wav, 2.wav, ..., 7.wav], I'd play them all by clicking on "cmdStart" button on a Visual Basic 2005- Windows Application Form. I thought I should use this segment of code to get this thing done: Private Sub cmdStart_Click(ByVal...more >>

Re: How to Use a Screen Saver app within My Application?
Posted by TCook at 5/25/2006 6:26:58 AM
Hey Everyone, Using the following in VB, one can launch a screensaver in a window on a form: Shell "sspipes.scr /p " & CStr(Picture1.hWnd) Once launched, how can the screensaver be terminated programmatically? Thanks & Regards, TC ...more >>

How To Force Copy One File To Another
Posted by Christopher Lusardi at 5/25/2006 5:46:57 AM
If I want to copy one file to another how do I do that? I want to do this even if the second file already exists. Thanks, Christopher Lusardi ...more >>

How To Use Operating System. E.G.:How To Delete A File On C Disk
Posted by Christopher Lusardi at 5/25/2006 5:11:21 AM
I know how to rename a file! WIth VB, how do I delete a file etc? Thanks, Christopher Lusardi ...more >>

Possible to monitor changes in array (with event)?
Posted by HKSHK at 5/25/2006 3:10:59 AM
Hi folks, I hope that anyone can give me a tip about this problem. I need to monitor the content of an array (boolean variables). The best thing would be if I was able to create an event that's being triggered when one of the variables changes (ideally giving the index of that changed varia...more >>

XP Firewall
Posted by Tlink at 5/25/2006 12:11:08 AM
I need to open and close ports within vb.net, is this possible? and if so a example or reference would be greatly appreciated. Thanks in advance ...more >>


DevelopmentNow Blog