|
-
Feb 26th, 2007, 07:51 PM
#1
Thread Starter
New Member
how to wait in 2005 Express
Hey guys I'm brand new to VB.NET and I have a question about a program I'm creating. Basically my program gets an xml file from the internet and then saves certain parts of it when the user clicks a start button. I want to have the routine wait for approx 5 mins, during which time I want the user to be able to enter information and click other buttons on the form, and then I want the program to loop back to the beginning of the sub to check for updated info.
My problem is I can't figure out how to make the routine wait and still allow full functionality of my form. I have tried Threading.Thread.Sleep but it basically freezes the rest of the form until the specified sleep time is over.
Is there any way to make the sub wait while other subs and such can be executed?
Thanks for the help
-NDScrackbaby
Edit: Sorry If this gets posted like 3x times, New Thread wouldn't go through till just now. Sorry Mods...
Last edited by NDScrackbaby; Feb 26th, 2007 at 08:16 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|