471,347 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,347 software developers and data experts.

I want to handle external events from my c# app

I want to handle external events from my c# app, especially to events
from windows explorer (windows shell) and windows media player

how do i go about handling such external events?
*** Sent via Developersdex http://www.developersdex.com ***
Jan 9 '06 #1
4 2351
Paul,

There is no one single way to do this. It is dependent on the
application you are trying to receive events from. You have to know
specifically what it exposes, and then attach to the events (it could be
through windows messages, COM interfaces, .NET events).

What are you trying to do specifically?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul Fi" <na*******@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP15.phx.gbl...
I want to handle external events from my c# app, especially to events
from windows explorer (windows shell) and windows media player

how do i go about handling such external events?
*** Sent via Developersdex http://www.developersdex.com ***

Jan 10 '06 #2
say i have windows media player open seperately, and each time i play an
mp3 in the windows media player instance i want my c# app to be notified
that the mp3 file is being played by windows media player

*** Sent via Developersdex http://www.developersdex.com ***
Jan 10 '06 #3
Paul,

Have you checked the Windows Media SDK (which I think that media player
is a part of).

You will probably have to create a filter of some kind to do this.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul Fi" <na*******@hotmail.com> wrote in message
news:eL**************@tk2msftngp13.phx.gbl...
say i have windows media player open seperately, and each time i play an
mp3 in the windows media player instance i want my c# app to be notified
that the mp3 file is being played by windows media player

*** Sent via Developersdex http://www.developersdex.com ***

Jan 10 '06 #4
ok so you mean like a plugin for windows media player

i tried to search on that, i couldnt find anything is it possible to
create a c# plugin for windows media player

do you know of any e-resouces on that

i would appreciate it

thank you
*** Sent via Developersdex http://www.developersdex.com ***
Jan 12 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Dmitry Duginov | last post: by
2 posts views Thread by Dan | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.