Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6EE Letting other apps refresh

Status
Not open for further replies.

bashless

Technical User
May 3, 2002
35
US
Hello;

I remember a friend programmer who used a statement in his VB programs so that his program was friendlier to other applications by releasing control of the processor for a slice of time. From what I remember it was a simple VB command but I cannot figure out how he did it.
I would like my program to let the screen do some refreshes while my program is running. Any clues?

Thx Bashless.
 
See DoEvents but prevent DoEvents from being executed while you are in the DoEvents e.g. user clicks button that executes same code that the DoEvents is in. Good idea is to disable the button that started the routine that contains the DoEvents. Be aware, that a DoEvents means that your program will respond to other events (e.g. user actions) on the forms and that might cause a conflict. Forms/Controls Resizing/Tabbing Control
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
That was it. Thanks, I really was not looking hard at the events documentation.

Lesson learned....

Thx.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top