|
-
Sep 4th, 2005, 04:34 PM
#1
Thread Starter
Member
when wmp is opened run my app
Hello
Who do I do the the following:
When the user boots up wmp my program is starts up?
Thanks
SgtSlayer
-
Sep 4th, 2005, 04:38 PM
#2
Re: when wmp is opened run my app
It'd be easier to have your program start WMP. Alternatively, you could have a program running that looks for WMP to start, and then start your app.
-
Sep 4th, 2005, 04:41 PM
#3
Thread Starter
Member
Re: when wmp is opened run my app
Yea I thought of that but when wmp is opened from a browser that wouldn't work.
Thanks
SgtSlayer
-
Sep 4th, 2005, 04:59 PM
#4
Re: when wmp is opened run my app
You mean if WMP is opened from a web browser?
If so some instance of the program must be runnning?
-
Sep 4th, 2005, 05:05 PM
#5
Thread Starter
Member
Re: when wmp is opened run my app
Yeah I see: MYAPP.exe starts when windows starts and then when wmp is booted is shells my main app.
But how does my app tell when to shell the main app?
Thanks
SgtSlayer
-
Sep 4th, 2005, 05:10 PM
#6
Re: when wmp is opened run my app
-
Sep 4th, 2005, 06:56 PM
#7
Re: when wmp is opened run my app
You can't do it properly. You have to have a timer, or just a continous loop (making sure that it only uses minimal CPU time) and keep checking for an instance of WMP.
The proper way would be to use a WH_SHELL hook, but after extensive efforts we couldn't find a way to do it in VB, due to the intricacies of hook injecting and the reliance on the VB runtime.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|