Multithreading... maybe -- Hard to explain
Posted on 2002-07-06
I don't know what I need, but here is my current problem:
I would like to make an object (ActiveX or user control, or whatever) that has a method which loops for a few seconds, such as:
private sub methodname()
for i = 1 to 100
This works fine. However, if I put 2 of these objects on a form (call them object1 and object2) and run this code:
Visual Basic waits for object1 to finish running the sub "methodname" before moving on to object2
How can I get them to run their procedures at the same time?
If this is hard to understand, please let me know what else you would like me to include.