Results 1 to 2 of 2

Thread: Return Code from VB program

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    Toronto, Ontario, Canada
    Posts
    2

    Post

    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-

  2. #2
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301

    Post

    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width