VBCE.com - The Premier Website For Visual Basic/CE Developers

 

*Dev Corner

Sample Code
Controls
Workarounds
Tips & Tricks
Q & A
Forums

*Goodies
Downloads
Software
Bookstore


*General
Home
What's New
General Info
Misc. Info


*News Worthy
News
Articles
Editorials
KB Articles
Reviews
Awards

*Miscellaneous
Web Links
Partners
Search
Feedback
Advertising

Sponsors


More...



Simulating DoEvents in VBCE 6.0

DoEvents is an extremely useful statement which allows other programs to get a slice of the CPU processing time.  Unfortunately, VBCE 6.0 does not supply a DoEvents statement.  You can simulate it though with a few API calls.  

Special thanks to Richard Whitaker for providing the source code.  Richard is a partner in Vision Software based in Macclesfield of the UK. He develops programs for gardeners and embedded systems.  The current project uses a Compaq CE palm computer, used to command a miniature motor control system.

Declarations:

Code:

 

VBCE.com is DevX Winner!

Unless otherwise noted, all information on VBCE.com is Copyright 1998 - 2002
Windows, Windows CE, and Visual Basic are trademarks of the Microsoft Corporation.
VBCE.com is not responsible for content on external sites.
Send all feedback to webmaster@vbce.com
Webmasters - feel free to link to
VBCE.com - Premier Website for Visual Basic/CE Development

Buy Books!