473,382 Members | 1,305 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 2419
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Newbee Adam | last post by:
anyone have any secrets or pearls about vb.net you want to share I was asked by my company to begin teach an introductory VB.Net course 2 day seminar. I had been teaching an sql server 2000...
1
by: Fei Yuan | last post by:
Please forgive me re-posting this question since I wasn't clear in my original post. --------> Starting an external process needs to pass it a ProcessStartInfo() object. ProcessStartInfo has a...
0
by: lkr | last post by:
hi i got the code for handling some of the events in MSWord.But i need ScrollBar events to be handled .i got the handle to the word application window through an API using ForeGroundWindow().By...
7
by: lkr | last post by:
hi is there is anyway to capture the document events of a MSWord?eg:I have to handle the event awhen WM_KEYUP or anyother events will occur. give me a solution............ thanks in advance lkr
7
by: Nikki | last post by:
Hi, Can anybody help me, i want to prevent windows to close my winform of ..NET application, when user presses Alt+F4
6
by: Dmitry Duginov | last post by:
My web application uses resource files to keep localized strings etc. Those resource files prepared by external console program, which extracts this stuff from the database. Is there a way to...
3
by: Jerry Wei | last post by:
Dear all: I have a problem about how to handle the events. For example, there are two forms, Form1 and Form2. Form2 is owned by Form1 and there is a button,Button1, in Form2. It is no problem for...
0
by: lcifers | last post by:
I have written an application and tested it as a Windows executable. It works fine. The application uses an external COM application to process some existing files. But I can't seem to start that...
2
by: Dan | last post by:
Hi all, I have a quick question about the formatting of external text files. I am trying to make a webpage for a local church that will display what is on in the coming weeks. I have done this...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.