PDA

Click to See Complete Forum and Search --> : Return Code from VB program


-jk-
Nov 29th, 1999, 01:48 AM
Hi,
I am working on a VB program (.exe) that will be called from a flow control utility under Windows NT. The flow control utility expects a return code from my program to take an appropriate action. Does anybody know how to return a value from Sub Main?
Or in general: how to return value to the system that can be picked up by the calling program?

I am tired of unsuccessfull browsing thru manuals, buletins, MSDN, e.t.c.

Help ASAP if you can as it is quiet urgent....

Regards -jk-

Juan Carlos Rey
Nov 29th, 1999, 10:10 AM
I think the only way would be to write the data you want to pass into a file and let the other program read that file, (if I got you question right).