Make SHELL run non-asynchronously? 
Author Message
 Make SHELL run non-asynchronously?

Howdy,

    Is it possible to run SHELL without the asynchronous option?  Is there
at least a way to force the system to wait until SHELL is done?  I'm using
VB6 pro edition.

AdvTHANXance..

Joel Graff




Thu, 22 Aug 2002 03:00:00 GMT  
 Make SHELL run non-asynchronously?
I'm not really sure, but take a look at the START command as a shell
instead of the application. The START command has an option to wait
called, inexplicably... /WAIT.

Instead of "SHELL XYZ.EXE" use "SHELL START /WAIT XYX.EXE"


Quote:
> Howdy,

>     Is it possible to run SHELL without the asynchronous option?  Is there
> at least a way to force the system to wait until SHELL is done?  I'm using
> VB6 pro edition.

> AdvTHANXance..

> Joel Graff



--
I thought I was wrong once, but I was mistaken - Me


Thu, 22 Aug 2002 03:00:00 GMT  
 Make SHELL run non-asynchronously?

Quote:

>Howdy,

>    Is it possible to run SHELL without the asynchronous option?  Is there
>at least a way to force the system to wait until SHELL is done?  I'm using
>VB6 pro edition.

Go to the Microsoft KnowledgeBase and retrieve article Q129796.

Lee Weiner
weiner AT fuse DOT net
http://home.fuse.net/lweiner



Fri, 23 Aug 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Using the Shell function to run a program asynchronously

2. Shell() running asynchronously w/ VB code

3. Advanced : Shell doesn't appear to be running asynchronously

4. Making a window non-sizeable at run-time (VB5)

5. How to detect (by EXE name) if a non-shelled process is running (32-bit)

6. How to detect (by EXE name) if a non-shelled process is running (32-bit)

7. Making a form non-resizeable or control non-clickable

8. How can I run fast queries asynchronously

9. Running stored procedures asynchronously

10. running sp asynchronously

11. Running the dataenvironment asynchronously?

12. Shell program: running IE in Shell

 

 
Powered by phpBB® Forum Software