Lenton Posted September 14, 2008 Author Share Posted September 14, 2008 Could someone please tell me what "DoEvents" does. Thanks. Link to comment Share on other sites More sharing options...
tylian Posted September 14, 2008 Share Posted September 14, 2008 If your in a loop, vb6 will lock up.DoEvent's tell VB6 to proccess all it needs to do, like click events, other code, etc. Link to comment Share on other sites More sharing options...
Lenton Posted September 14, 2008 Author Share Posted September 14, 2008 I still don't understand. Could you please put that into other words? Link to comment Share on other sites More sharing options...
TehGrunt Posted September 14, 2008 Share Posted September 14, 2008 When you are looping, you computer will keep processing the code and other events, such as mouse clicks and key presses will go unnoticed. DoEvents simply tells VB6 to "take a break" and process the other things that it needs to. Link to comment Share on other sites More sharing options...
Lenton Posted September 14, 2008 Author Share Posted September 14, 2008 KK, i understand. Thanks for your help both of you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now