Multithreading in VB6
Posted on 2002-04-18
Does anyone know how to do multithreading in VB6? For example, if I want to call a public function Process1()during form load, I want the form keep loading without waiting on Process1() to finish. Actually, I have a case the Process1() will be running during whole run time. It is like sth below:
Public Function Process1(arg1 as String)
do while True
So, is there a way to use multithreading for this? I'd like to use it inside of the code, instead of creating an ActiveX.
Working sample code needed please.