|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using Waitable Timer APIs with VB.NET.Hello:
Can anyone provide me some idea on how to replace the Sleep method. Major Disadvantage that I have been facing with the Sleep method is that the application freezes during the sleep time and does not respond to any other events like the -- onComm event of the Serial port. I have been using a serial port class in VB.NET as serial port component does not exist in VB.NET. I am looking for somedata on how to use Waitable Timer APIs with VB.NET. Thanks in Advance Please look at the link below for more information on waitable API timers: http://groups.google.com/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/3e2621c4887d94f/01963709a1ee9f8e?lnk=st&q=VB.NET+Wait+Timer+class&rnum=1&hl=en#01963709a1ee9f8e "Sam" <indianmostwan***@yahoo.com> wrote in news:1146081826.663361.221970 @e56g2000cwe.googlegroups.com:> Hello: Thread.Sleep should not hang your GUI thread - are you running the > Can anyone provide me some idea on how to replace the Sleep method. > Major Disadvantage that I have been facing with the Sleep method is > that the > application freezes during the sleep time and does not respond to any > other events like the > -- onComm event of the Serial port. I have been using a serial port > class in VB.NET as serial port component does not exist in VB.NET. procedure in a new thread? You can also look into async event handlers - this lets you fire a function off and do the processing asychronously.
Image Upload problem - tearing hair out here!!
date calculations Books: (I'm converting vb release 4 to release 8) But will eventually move it to other PCs Writing and reading from a template Excel file using ADO.Net - results not recalculated Red Semaphore. Ideas? simple OO question Generating Reports Using VB.net minimizing viewstate Managed DX - 'DrawText' ambiguous Translating VB6 Code to kill the screen saver. |
|||||||||||||||||||||||