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

How can I run more than one process at a time

Status
Not open for further replies.

cal555

Programmer
May 5, 2006
71
US
Hi,
I am woundering if this is possable, and if so how I might be able to to do this.
I want , in my VB code, kick off a stored Procedure, adn while this is runing the program goes on to the next step.
You see this procedure runs quite a number of steps and as it proceeds through each step it will update a table. mean while I want my Vb code to go on and check this table, and send a mess age back to the user when each step is done.
something like this, if this can happen

Run GetCustListForEachState

' Go On to the next line and every 5 sec. Check the value of log table, while the GetCustList is runing.

Any ideas would really be appreciated.
Than You
 
yes, there are ways to do this. Read up on asynchronous communication between objects.
 
Also, ActiveX EXE's are by definition out of process. As such, if you instantiate an ActiveX EXE from an application, you actually run a new exe, ergo a new process.

HTH

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top