VB Wait Statement
VB Wait Statement
VB Wait Statement
VB Wait Statement
VB Wait Statement
VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement
VB Wait Statement VB Wait Statement
VB Wait Statement
Go Back  Xtreme Visual Basic Talk > > > VB Wait Statement


Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2010, 07:36 PM
cocacolarocks99 cocacolarocks99 is offline
Newcomer
 
Join Date: Apr 2010
Posts: 2
Default VB Wait Statement


To wait in visual basic I have been using System.Threading.Thread.Sleep(3000) and it works. Except for when I am trying to change a picture or make something invisible. In my program I have a picturebox that is being sent to the back and at the same time text is being written in a textbox. However, it will execute the writing text but it will wait until all my other code has executed BEFORE it changes the picturebox. I want it to wait and then show the picturebox after that wait period has expired instead of waiting until the very end.
Reply With Quote
  #2  
Old 04-20-2010, 02:41 AM
PlausiblyDamp's Avatar
PlausiblyDampVB Wait Statement PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058
Default

Just want to clarify something - are you using this code on the server side in a web app? If so this will cause a delay in the page generation (before it is sent to the browser) but it will not affect how the browser itself receives the data.

It might help if you show the code in question, it can help people to spot possible mistakes when they have code to look at.
__________________
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote
  #3  
Old 04-20-2010, 03:59 PM
cocacolarocks99 cocacolarocks99 is offline
Newcomer
 
Join Date: Apr 2010
Posts: 2
Default

It is a simple Windows Application Form.
Reply With Quote
Reply

Tags
statement, visual basic, wait


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
VB Wait Statement
VB Wait Statement
VB Wait Statement VB Wait Statement
VB Wait Statement
VB Wait Statement
VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement VB Wait Statement
VB Wait Statement
VB Wait Statement
 
VB Wait Statement
VB Wait Statement
 
-->