Solved

Know if an applications starts

Posted on 1997-05-05
1
138 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
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now