Click to See Complete Forum and Search --> : How can I end a Vb app with a return value?


john_h_zheng
December 15th, 1999, 07:17 PM
I launched an VB application from InstallShield using LaunchAppAndWait(). This application is reponsible for setting up sth in another computer. I use Telnet and Ftp to setup the connection. I need to return some value (0: success, >0 : error) to the LauchAppAndWait() call so that the setup process will know the status of installation process. How can I return a value when I exit the VB application?Just like the C-stype exit(0) or exit(1).

Now I am using End to terminate the VB app, but it does not return any value.
Help!!!!

*_*

Lothar Haensler
December 16th, 1999, 01:32 AM
use the ExitProcess API