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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

handling Concurrent processes within VB6 3

Status
Not open for further replies.

R3D3

Programmer
May 1, 2002
34
FR
How can I create 2 different processes in VB6 that will run concurrently?

I have 3 functions A, B and C, each of them taking 5 seconds.
Function C uses the results of Functions A and B
Functions A and B are completely independant of each other and their processing is performed on different machines so I should be able to improve the performance by about 30%

How can I start function B before I receive the result from Function A?


 
Ok. So I was impressed by the Theading solution although it has persuaded me to hold tight until .Net
(PS - I'm also impressed by all the Wombat synonyms, of course)

However if I use this approach on a Server I notice that the DO UNTIL uses up loads of processing CPU
Is there a Delay or Wait function in VB6 that makes the program sit and do nothing for n secs?

 

Search this site for Sleep you should find many examples.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top