Wait for launched program to finish?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Wait for launched program to finish?

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Wait for launched program to finish?

    [Originally posted by Harry]

    I launch a VB program using:
    "iRetVal = Shell(sSelectedStoresApp, 1)"

    I want to wait for this program to finish before I continue with my next VB statement.

    What can I do to either wait or determine if the program I launched is still active?

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Wait for launched program to finish?

    [Originally posted by FreeVBCode.com]

    See <A HREF = 'http://www.freevbcode.com/ShowCode.Asp?ID=99'>http://www.freevbcode.com/ShowCode.Asp?ID=99</A>.

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Wait for launched program to finish?

    [Originally posted by Steve Letford]

    You may also want to look at the CreateProcessA 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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center