Click here to Skip to main content
15,902,737 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Connecting with webserver? Pin
Aman Bhullar28-Jan-10 0:18
Aman Bhullar28-Jan-10 0:18 
GeneralRe: Connecting with webserver? Pin
amnewone29-Jan-10 10:43
amnewone29-Jan-10 10:43 
QuestionHow to load an image, then wait a few seconds, then play a mp3 sound ? Pin
ibmkahm23-Jan-10 1:51
ibmkahm23-Jan-10 1:51 
AnswerRe: How to load an image, then wait a few seconds, then play a mp3 sound ? Pin
Geoff Williams23-Jan-10 2:33
Geoff Williams23-Jan-10 2:33 
GeneralRe: How to load an image, then wait a few seconds, then play a mp3 sound ? Pin
ibmkahm23-Jan-10 23:37
ibmkahm23-Jan-10 23:37 
GeneralRe: How to load an image, then wait a few seconds, then play a mp3 sound ? Pin
Luc Pattyn23-Jan-10 23:40
sitebuilderLuc Pattyn23-Jan-10 23:40 
GeneralRe: How to load an image, then wait a few seconds, then play a mp3 sound ? Pin
Mycroft Holmes24-Jan-10 1:39
professionalMycroft Holmes24-Jan-10 1:39 
GeneralRe: How to load an image, then wait a few seconds, then play a mp3 sound ? Pin
Luc Pattyn24-Jan-10 6:55
sitebuilderLuc Pattyn24-Jan-10 6:55 
No, I don't have any backup, except for logic reasoning: DoEvents() runs another message loop, which means the message queue becomes active while probably executing an event handler already, potentially and unexpectedly turning its caller in a re-entered method, which risks all kinds of things, e.g. to upset your object's state, and maybe even to overflow the stack (imagine DoEvents inside a MouseMove handler).

I would avoid DoEvents() as much as possible, as it is very dangerous; and I would typically not need to call it, as I tend to use threads for most everything except actions that will always finish in a few milliseconds.

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
[The QA section does it automatically now, I hope we soon get it on regular forums as well]


AnswerSame question : same poster on StackOverFlow : Re: How to load an image Pin
BillWoodruff24-Jan-10 11:54
professionalBillWoodruff24-Jan-10 11:54 
GeneralRe: Same question : same poster on StackOverFlow : Re: How to load an image Pin
Luc Pattyn24-Jan-10 12:06
sitebuilderLuc Pattyn24-Jan-10 12:06 
AnswerRe: How to load an image, then wait a few seconds, then play a mp3 sound ? Pin
rockracker28-Jan-10 14:22
rockracker28-Jan-10 14:22 
Questiondisplay continuous data Pin
zaftblitz21-Jan-10 21:45
zaftblitz21-Jan-10 21:45 
AnswerRe: display continuous data Pin
Richard MacCutchan23-Jan-10 2:36
mveRichard MacCutchan23-Jan-10 2:36 
GeneralRe: display continuous data Pin
zaftblitz23-Jan-10 23:23
zaftblitz23-Jan-10 23:23 
GeneralRe: display continuous data Pin
Richard MacCutchan24-Jan-10 1:09
mveRichard MacCutchan24-Jan-10 1:09 
QuestionError when trying to write to .exe.config file Pin
imak15-Jan-10 8:12
imak15-Jan-10 8:12 
AnswerRe: Error when trying to write to .exe.config file Pin
Dave Kreskowiak15-Jan-10 8:23
mveDave Kreskowiak15-Jan-10 8:23 
GeneralRe: Error when trying to write to .exe.config file Pin
imak15-Jan-10 8:28
imak15-Jan-10 8:28 
GeneralRe: Error when trying to write to .exe.config file Pin
Dave Kreskowiak15-Jan-10 9:28
mveDave Kreskowiak15-Jan-10 9:28 
QuestionHow to change tip location on Quick Launch bar Pin
Corporal Agarn15-Jan-10 1:50
professionalCorporal Agarn15-Jan-10 1:50 
AnswerRe: How to change tip location on Quick Launch bar Pin
dan!sh 15-Jan-10 4:34
professional dan!sh 15-Jan-10 4:34 
GeneralRe: How to change tip location on Quick Launch bar Pin
Corporal Agarn15-Jan-10 4:45
professionalCorporal Agarn15-Jan-10 4:45 
QuestionI need an ebay program Pin
totolcm13-Jan-10 2:25
totolcm13-Jan-10 2:25 
AnswerRe: I need an ebay program Pin
Dave Kreskowiak13-Jan-10 6:15
mveDave Kreskowiak13-Jan-10 6:15 
QuestionPrinting multiple pages per sheet Pin
Martin Beukes12-Jan-10 23:26
Martin Beukes12-Jan-10 23:26 

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.