• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

Get exit code from VB exe?

How can I return an exit code from a vb 6 exe? One that could be trapped from another program or .bat errorlevel?
0
gferrell
Asked:
gferrell
  • 2
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
gferrellAuthor Commented:
In your experience, does this cause a problem since this command is unsupported in vb?
0
 
Éric MoreauSenior .Net ConsultantCommented:
I have used it without problems in batch applications that are still running every night.

ExitProcess is an API call given by Windows. It doesn't have to be supported to be working!
0
 
rpaiCommented:
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now