Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Waiting for an External Application to finish

Posted on 2003-02-23
Medium Priority
Last Modified: 2013-12-26
Hi there,

I am using ShellExecute to run ftp.exe to ftp some files in my PowerBuilder application. I want the application to wait until ftp.exe has finished before it continues. How do i do this???


Question by:benners
1 Comment

Accepted Solution

AFI earned 200 total points
ID: 8006105
Hello, execute your ftp.exe with the CreateProcess and then use the WaitForSingleObject to verify if the ftp.exe has finished

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question