I want to handle external events from my c# app

  • Thread starter Thread starter Paul Fi
  • Start date Start date
P

Paul Fi

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?
 
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?
 
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
 
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.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top