[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

hidden shelled programs

Posted on 1999-07-12
1
Medium Priority
?
211 Views
Last Modified: 2010-05-02
how can i find out when a shelled dos app that has finished?
the catch is that i want to run the shelled program 'hidden'
ie handle = Shell(pathname , 0 )
I know I can use one of those api thingies but will 'findwindow' work if the program is hidden?
0
Comment
Question by:pobwest
1 Comment
 
LVL 12

Accepted Solution

by:
mark2150 earned 20 total points
ID: 1523946
If you save the handle passed to you by shell APPActivate will return an error #5 when the app has terminated. Conversely you can use the ExecCmd API to simply wait for the child to finish.

Source to ExecCmd is on my web page: www.cyberchute.com/rvbus/madmark

M

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month9 days, 8 hours left to enroll

591 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