Running Programs in DOS Shell 
Author Message
 Running Programs in DOS Shell

I am writing a program in VBA that calls another program in DOS to be
run interatively.  I have it so that it calls the program and keeps it
minimized, but everytime the DOS program restarts the DOS shell becomes
the focused window so if I am typing in Word, the cursor is moved to the
DOS shell.  Is there a way to make it so the program is called in DOS
totally in the background?


Sun, 04 Jan 2004 01:27:22 GMT  
 Running Programs in DOS Shell
Brian,

You may want to look into the IWShell objects surfaced by...Microsoft
Scripting Runtime (?).  These objects not only give you Shell()
functionality to run other apps, but also let you control whether those
other apps are to be run synchronously and visibly.

--A



Sun, 04 Jan 2004 03:21:12 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Running a DOS program as a Shell (PkUnzip) from VB

2. Dos programs (shell) running in VB5

3. Sequential run of DOS program via SHELL command

4. Running a DOS program as a Shell (PkUnzip) from VB

5. Shell program: running IE in Shell

6. Newbie:Running DOS App (Shell)

7. Newbie: Running Dos App synchronously ( Other than Shell)

8. How to Close a DOS app after running from Shell()

9. Help: Running Dos .bat in VB SHELL

10. Running DOS's copy from a shell command in VB

11. Running MS-DOS SHELL without window

12. Help:Running DOS commands from SHELL function

 

 
Powered by phpBB® Forum Software