Shell command..sychronous/Asynchronous

Bosch

Registered User.
Local time
Today, 08:09
Joined
May 13, 2005
Messages
89
Hi everyone

I searched the forum for help..but couldnt find what I am looking for.

I want to run a batch file using shell cmd and wait for it to complete..until then I want to display a hourglass...because my next line of code needs the batch file run completed.

Right now, shell command starts the batch file then continutes to the next line of code..Tried the Doevents does not work right.

Access help states that :
"By default, the Shell function runs other programs asynchronously. "

How can I make it synchronous?



Thanks in advance for the help.
 

Users who are viewing this thread

Back
Top Bottom