threading question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



is there a alternative to doevents() for threads

In my Case there is no UI


does thread.sleep() yield to windows or just stop the current thread for the
time

tks


.



Relevant Pages

  • Re: threading question
    ... does thread.sleepyield to windows or just stop the current thread for the ... thus no concept of a DoEvents to begin with. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Posting an event
    ... asynchronous delegates and DoEvents(note that these techniques ... should apply to all dotnet languages, ... windows forms in dotnet add a layer to insulate the developer from having to ... DoEvents, but it will still not respond to user messages while loading the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Something better than DoEvents?
    ... My test control software has several windows ... the code that controls the hardware test takes hours to ... >Unless I throw some "DoEvents" keywords into the mix. ...
    (microsoft.public.vb.general.discussion)
  • Re: Event Handling in vb.net (DoEvents)
    ... better know whether anything you call might call DoEvents. ... If I use MB in a timer tick ... are events that are not Windows Events ...". ... >In fact only the thread that creates windows controls are allowed to modify ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Code executing too fast -- causes errors
    ... UserForms to be updated" simply makes no sense in the Windows OS. ... If screen updating is a problem in the document itself, ... "Scattering a few DoEvents commands around the program" is an extremely ... An intensive macro often doesn't cede enough CPU ...
    (microsoft.public.word.vba.beginners)