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-