473,378 Members | 1,504 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,378 software developers and data experts.

Windows Events

gb
Hi. I wanting to have a Windows Service that monitors keystrokes in any application. I pretty much just want to be notified whenever someone presses a key no matter what application they are using: Outlook, Word, etc. I'm having no luck figuring out how to monitor Windows Events. Any ideas on how to do this?
Nov 20 '05 #1
2 880
perhaps this will help

http://www.developer.com/net/net/art...1087_2193301_2

"gb" <an*******@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
Hi. I wanting to have a Windows Service that monitors keystrokes in any

application. I pretty much just want to be notified whenever someone
presses a key no matter what application they are using: Outlook, Word, etc.
I'm having no luck figuring out how to monitor Windows Events. Any ideas on
how to do this?
Nov 20 '05 #2
* "=?Utf-8?B?Z2I=?=" <an*******@discussions.microsoft.com> scripsit:
Hi. I wanting to have a Windows Service that monitors keystrokes in
any application. I pretty much just want to be notified whenever
someone presses a key no matter what application they are using:
Outlook, Word, etc. I'm having no luck figuring out how to monitor
Windows Events. Any ideas on how to do this?


I am not sure if that will work in a service, but a keyboard hook is the way
to go:

<URL:http://www.developer.com/net/net/article.php/11087_2193301_1/>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: RAJ | last post by:
hi plz tell me how to know "how window is going to close"... i have to right code for X button of forms... plz telll me thanks bye
3
by: Scott | last post by:
I have written windows applications using MFC for several years and have frequently used MFC techniques. Now I'm moving to C# .NET WinForm. Mostly C# books describes C# language (sometimes...
2
by: Anony | last post by:
Hi All, After trying the Windows Service sample from MSDN, I don't get what the windows service class is better than a class handling and raising events itself. If using the...
2
by: Andrew | last post by:
Hi, friends, I need to raise certain events in my VC# windows control library. Any reference paper or sample source code for help? Thanks a lot...
1
by: Paul Fi | last post by:
how do i catch windows explorer and windows media player events in a .NET application, is it possible, say i double clicked on a media file inside windows media player and i wanted that event to...
4
by: dm1608 | last post by:
Hi -- I have a VB6 application that I plan on rewriting in C#.NET. The program today basically connects to a SQL Server and parses varies system stats from our mainframes and rolls the data up...
1
by: Jason | last post by:
If I write a windows service that raises events, is there a way I can listen for and catch those events from a windows forms application? TIA, Jason
2
by: yevron2 | last post by:
Hello, I am trying to get clipboard events using SetClipboardViewer api. It works in a windows form when i override the function: protected override void WndProc(ref...
8
by: hoofbeats95 | last post by:
I don't think this should be this complicated, but I can't figure it out. I've worked with C# for several years now, but in a web environment, not with windows form. I have a form with a query...
1
by: dtzWill | last post by:
Hey all--I'm trying to implement the server-side code for some software I'm writing for the iPhone. Basically it's a wireless touchpad... so I have a client that sends events (runs on the phone)...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.