Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get ERRORLEVEL from within VB? 1

Status
Not open for further replies.

Guern

Programmer
Jun 22, 2001
91
GB
Hi,

I'm calling some apps from within VB via API calls and the shell function. Is there any way to read the ERRORLEVEL that these apps return from my vb app?

Thanks,

Paul
 
Check out the GetExitCodeProcess and GetExitCodeThread API calls.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top