VB to .BAT exit status? 
Author Message
 VB to .BAT exit status?

Does anyone know of a way to have a VB executable running out of a Windows
NT Command file (.BAT) cause a "global" error
that NT would pick up as an ERRORLEVEL in a .BAT file?

RaiseError only seems to pop up a message box, causing the VB.EXE to end,
but checking  "ERRORLEVEL <> 0" on the
next line after the VB.EXE doesn't catch anything and the
bat file keeps chugging on.

Any ideas?

Thanks,
    John



Tue, 19 Sep 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VB exit code(status)

2. How Do I Create Close on Exit .bat?

3. Check Out Of Office status on exit

4. autoexec.bat and .bat files

5. how to spawn process and get exit status

6. Can VB return exit code on program termination as exit(X) in C

7. running a bat file from VB

8. how to launch .bat file within VB prog?

9. How do I execute a MS-DOS .bat file from VB

10. VB shell to Dos, .Bat or .Exe

11. creating a .BAT file with VB

12. Help me to execute a BAT file inside of VB

 

 
Powered by phpBB® Forum Software