Start application when another app. is opened

Hi.  I'm trying to buildind an addin for Kazaa.  Is there a way to open up my app whenever someone opens up kazaa?

Or do I just have it run in the background and check every few seconds for a Kazaa window?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

if you dont want your program runnig in the background, you could try this, rename kazaa to something, code your app such that it opens the renamed kazza, name your app kazza.exe and place it in kazaa's directory.
samsonite1023Author Commented:
No, I wouldn't like to change the original kazaa file name or anything like that.
then i think you will have to write another program that periodically checking if kazaa is running. but dont close the thread yet may be someone with a solution will come along :)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
or you could witer a program that launches your app and kazaa, then execute it in place of kazaa
samsonite1023Author Commented:
Thats a good idea, but then I'd have to change all the shortcuts that point to kazaa to my app.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.