Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / November 2006

Tip: Looking for answers? Try searching our database.

Need to get notified when processes start.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ehsan - 06 Oct 2006 17:26 GMT
I have an application written in .NET that needs to know when programs are
started by Windows- in a system wide manner.

I tried WMI but that is not as reliable as Microsoft boasts. Sometimes it
doesn't work temporarily, and doesn't work at all on some PCs!

I then turned to Windows Hooks using SetWindowsHookEx function but it seems
that in .NET, it is only possible to hook to keyboard and mouse, and not
other kinds of functions! (is that true?)

Can anybody here provide any alternatives to these approaches, or can
anybody show me how I can use windows hooks for this purpose? I prefer not to
be forced to turn to WMI again.

Thankyou all.
Prabakar Samiyappan - 08 Nov 2006 09:56 GMT
Hi Ehsan,

Write a Windows Services -which will keep track of the application we can
make it to send a message when ever anybody start the application .Insatll
this service while instlling the application itself

Regards
Prabakar

> I have an application written in .NET that needs to know when programs are
> started by Windows- in a system wide manner.
[quoted text clipped - 11 lines]
>
> Thankyou all.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.