Click here to Skip to main content
15,926,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Install Software Pin
Dave Kreskowiak28-Mar-07 1:51
mveDave Kreskowiak28-Mar-07 1:51 
QuestionGetting rid of the border on the datagridview Pin
steve_rm27-Mar-07 11:27
steve_rm27-Mar-07 11:27 
AnswerRe: Getting rid of the border on the datagridview Pin
Jaiprakash M Bankolli28-Mar-07 1:27
Jaiprakash M Bankolli28-Mar-07 1:27 
AnswerRe: Getting rid of the border on the datagridview Pin
rev030428-Mar-07 8:29
rev030428-Mar-07 8:29 
QuestionHow can I suspend a Do While - Loop for a specific of time? Pin
JUNEYT27-Mar-07 11:08
JUNEYT27-Mar-07 11:08 
QuestionRe: How can I suspend a Do While - Loop for a specific of time? Pin
Jelle Stokroos27-Mar-07 11:50
Jelle Stokroos27-Mar-07 11:50 
AnswerRe: How can I suspend a Do While - Loop for a specific of time? Pin
JUNEYT27-Mar-07 12:10
JUNEYT27-Mar-07 12:10 
GeneralRe: How can I suspend a Do While - Loop for a specific of time? Pin
TwoFaced27-Mar-07 13:17
TwoFaced27-Mar-07 13:17 
If your not running the code on a secondary thread then the only way I believe is what I think you've already done. Use a loop that loops for a specified period of time and use application.doevents inside the loop so it doesn't lock your application.

If you use a secondary thread to do the processing you could just call threading.sleep. But doing so on the UI thread will as you've discovered cause the UI to appear hung.

If you'd rather use a secondary thread look into the backgroundworker component. It's pretty easy to use.
GeneralRe: How can I suspend a Do While - Loop for a specific of time? Pin
Jelle Stokroos27-Mar-07 23:24
Jelle Stokroos27-Mar-07 23:24 
GeneralRe: How can I suspend a Do While - Loop for a specific of time? Pin
JUNEYT28-Mar-07 1:44
JUNEYT28-Mar-07 1:44 
Questionzow to make a demo software Pin
wmansory27-Mar-07 7:29
wmansory27-Mar-07 7:29 
AnswerRe: zow to make a demo software Pin
Christian Graus27-Mar-07 7:44
protectorChristian Graus27-Mar-07 7:44 
AnswerRe: zow to make a demo software Pin
Vasudevan Deepak Kumar29-Mar-07 6:29
Vasudevan Deepak Kumar29-Mar-07 6:29 
QuestionHow to read a bitmap image Pin
sonyama27-Mar-07 7:07
sonyama27-Mar-07 7:07 
AnswerRe: How to read a bitmap image Pin
Christian Graus27-Mar-07 7:15
protectorChristian Graus27-Mar-07 7:15 
QuestionConverting Word to html with footers Pin
PollyAnna33327-Mar-07 6:28
PollyAnna33327-Mar-07 6:28 
AnswerRe: Converting Word to html with footers Pin
Dave Kreskowiak27-Mar-07 7:30
mveDave Kreskowiak27-Mar-07 7:30 
GeneralRe: Converting Word to html with footers Pin
PollyAnna33327-Mar-07 21:34
PollyAnna33327-Mar-07 21:34 
QuestionGet Unicode Char Values Pin
Jonathan Gibbs27-Mar-07 4:37
Jonathan Gibbs27-Mar-07 4:37 
QuestionAdding Attributes to Control instances Pin
testy_proconsul27-Mar-07 3:30
testy_proconsul27-Mar-07 3:30 
AnswerRe: Adding Attributes to Control instances Pin
Christian Graus27-Mar-07 3:40
protectorChristian Graus27-Mar-07 3:40 
QuestionRe: Adding Attributes to Control instances [modified] Pin
testy_proconsul27-Mar-07 3:47
testy_proconsul27-Mar-07 3:47 
QuestionRetrieve Usernames from remote forum mysql database Pin
LegionFX27-Mar-07 2:21
LegionFX27-Mar-07 2:21 
AnswerRe: Retrieve Usernames from remote forum mysql database Pin
Marcus J. Smith27-Mar-07 2:37
professionalMarcus J. Smith27-Mar-07 2:37 
GeneralRe: Retrieve Usernames from remote forum mysql database Pin
LegionFX27-Mar-07 2:57
LegionFX27-Mar-07 2:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.