Re: errorlevel
- From: "Luke Vogel" <not@_real_address>
- Date: Sat, 17 Dec 2005 18:45:57 +1000
Hi Herfried,
I think your solution will work better.
Cheers.
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@xxxxxx> wrote in message
news:%23kVQFxh2FHA.636@xxxxxxxxxxxxxxxxxxxxxxx
> "Luke Vogel" <not@_real_address> schrieb:
> > I'm writing a small application that needs to run a number of
console
> > executables.
> >
> > No problem, I can use the 'shell' function with all its useful
> > parameters to run each console app.
> >
> > My problem is that I need to react to the ERRORLEVEL that is
returned by
> > the console executables in each case.
> >
> > The shell function returns a processID which is not useful in this
case.
>
> If you are using 'Process.Start' to start the executable you can use
the
> 'Process' object's 'ExitCode' property to determine the exit code.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>
>
.
- Prev by Date: Re: vb net sub function where do i put them
- Next by Date: Re: Class or structure for array.
- Previous by thread: System Tray Icon Sizes
- Next by thread: Re: errorlevel
- Index(es):
Relevant Pages
|
Loading