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?
gferrellAsked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.