Help: hiding a DOS window when executing a DOS batch file 
Author Message
 Help: hiding a DOS window when executing a DOS batch file

When I run a DOS batch file by using shell function, the DOS window pops
up. I wonder if there is some way to hide the DOS window when the batch
file is running.

--

Meng Xu

Please browse my homepage for more information: http://www.*-*-*.com/ ~mxu
*******************************************************************************



Tue, 18 Jul 2000 03:00:00 GMT  
 Help: hiding a DOS window when executing a DOS batch file

Quote:

>When I run a DOS batch file by using shell function, the DOS window pops
>up. I wonder if there is some way to hide the DOS window when the batch
>file is running.

Shell(pathname[, windowstyle])

The windowstyle named argument has these values:

Constant              Value

vbHide                  0      
vbNormalFocus           1
vbMinimizedFocus        2
vbMaximizedFocus        3
vbNormalNoFocus         4      
vbMinimizedNoFocus      6
--
Tony Gilbert
The Sounds of Red Dwarf http://www.swoon.demon.co.uk
PGP KeyID: 0x2FB1D3D1



Wed, 19 Jul 2000 03:00:00 GMT  
 Help: hiding a DOS window when executing a DOS batch file

Hi, VB gurus:

When I run a DOS batch file, there always is a DOS window pops up. Is
there anyway to hide this window ? The shelling procedure I used is
ExecCmd().

I posted this question before. However, I could not get the answer to it.
Sorry for reposting it.

Meng Xu

--



Sat, 22 Jul 2000 03:00:00 GMT  
 Help: hiding a DOS window when executing a DOS batch file

Quote:

>Hi, VB gurus:

>When I run a DOS batch file, there always is a DOS window pops up. Is
>there anyway to hide this window ? The shelling procedure I used is
>ExecCmd().

>I posted this question before. However, I could not get the answer to it.
>Sorry for reposting it.

>When I run a DOS batch file by using shell function, the DOS window pops
>up. I wonder if there is some way to hide the DOS window when the batch
>file is running.

Shell(pathname[, windowstyle])

The windowstyle named argument has these values:

Constant              Value

vbHide                  0      
vbNormalFocus           1
vbMinimizedFocus        2
vbMaximizedFocus        3
vbNormalNoFocus         4      
vbMinimizedNoFocus      6
--
Tony Gilbert
The Sounds of Red Dwarf http://www.swoon.demon.co.uk
PGP KeyID: 0x2FB1D3D1



Mon, 24 Jul 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. question on hiding a DOS window when executing a DOS batch file

2. executing ms-dos batch files

3. Executing MS DOS batch files

4. Executing DOS batch files in VB4/32 bit

5. How to run batch file in DOS window

6. Dos batch file for windows

7. Help with DOS shells under Win 95 (batch files)

8. DOS Batch File to Copy Files from an Access Application

9. Bad Command or File name when Shelling DOS Batch File

10. API to hide a batch file executing?

11. VBScript to replace DOS Batch that deletes old files

12. How to open my local MS-DOS batch file

 

 
Powered by phpBB® Forum Software