Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / May 2008

Tip: Looking for answers? Try searching our database.

delay

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shadow-king - 16 May 2008 10:20 GMT
Hello,

I have a problem on my simple vb.net program. I bypass the next code block,
but when i put an messagebox the whole code is executed. So what I want to
accomplish is to put a delay on my program instead of a messagebox. Can you
help me to put a 5 secs. delay on my program. Maybe it will help execute the
whole code...
Paul G. Tobey [eMVP] - 16 May 2008 15:58 GMT
WHAT?  Back up and tell us what the problem is and forget about trying to
hack together some patchwork fix...

Paul T.

> Hello,
>
[quoted text clipped - 6 lines]
> the
> whole code...
shadow-king - 21 May 2008 03:03 GMT
All I need is a single line of code that will delay an execution of the next
block of code, thank you.:)

>WHAT?  Back up and tell us what the problem is and forget about trying to
>hack together some patchwork fix...
[quoted text clipped - 6 lines]
>> the
>> whole code...
Hosmerica - 16 May 2008 16:15 GMT
> Hello,
>
[quoted text clipped - 6 lines]
> the
> whole code...

System.Threading.Thread.Sleep(5000) '5000 milliseconds = 5 seconds
shadow-king - 21 May 2008 03:04 GMT
Thank you very much Hosmerica.... This is what I'm talking about....

>> Hello,
>>
[quoted text clipped - 3 lines]
>
>System.Threading.Thread.Sleep(5000) '5000 milliseconds = 5 seconds

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.