Solved

Know if an applications starts

Posted on 1997-05-05
1
143 Views
Last Modified: 2012-05-04
I would like to know when an application starts. Which event shows that an application has started (like the Cleansweep for example)?
0
Comment
Question by:pavlidis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
sleach earned 50 total points
ID: 1335934
as I understand it,  you wish to check to see when a specific outside application(not your application) starts.  

To do this, you need the class name, and caption.

if  FindWindow('TClass', 'Caption') <> 0 then    ApplicationIsRunning;

If you do not know the class name and caption of the target application, use Winsite(included with delphi).  Winsite will tell you the Class name, and caption of all running windows(child windows too).  



0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

729 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