CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 1999
    Location
    MN
    Posts
    49

    How can I end a Vb app with a return value?

    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!!!!

    *_*

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How can I end a Vb app with a return value?

    use the ExitProcess API


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

Featured