Trying to confirm external program launch 
Author Message
 Trying to confirm external program launch

Hello,
I don't know if there is a way to do this.  I have a VB Script run each
night that launches a command line argument.  The command line runs WinZip
and zips up a bunch of files to a backup drive.  I'd like to have the script
know if the external program failed and if so, email me.  I have everything
working, with the exception of having the script "know" if the external
program that was launched with the Run Method failed or completed.

I suspect that since the script simply launches the external program, that
is all it knows and it won't be able to 'act' on anything.  But I thought
I'd ask.  I figure someone has figured out something like this already.
Thanks for any input or suggestions if anyone has them.

....Brad



Thu, 04 Sep 2003 03:21:14 GMT  
 Trying to confirm external program launch
I figured it out.  I needed to archive to the hard disk, and then use the
CopyFile method combined with an On Error statement.

--


Quote:
> Hello,
> I don't know if there is a way to do this.  I have a VB Script run each
> night that launches a command line argument.  The command line runs WinZip
> and zips up a bunch of files to a backup drive.  I'd like to have the
script
> know if the external program failed and if so, email me.  I have
everything
> working, with the exception of having the script "know" if the external
> program that was launched with the Run Method failed or completed.

> I suspect that since the script simply launches the external program, that
> is all it knows and it won't be able to 'act' on anything.  But I thought
> I'd ask.  I figure someone has figured out something like this already.
> Thanks for any input or suggestions if anyone has them.

> ....Brad



Thu, 04 Sep 2003 03:59:05 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Trying to Launch External App Please help

2. Launch external program

3. How to launch an external program by VBscript ?

4. Help on launching external program...

5. QB4.5 External Program Launch Problem

6. !!!!!!!!!!!HELP - Launching External Programs - URGENT!!!!!!!!!!

7. Launching external Windows Programs

8. Launching external programs and grabbing their output

9. Access and launching external programs

10. Launching external programs from Visual Basic

11. Launching External Programs

12. Launching an external program

 

 
Powered by phpBB® Forum Software