?
Solved

Keydown or MouseDown event Using Windows API

Posted on 2009-05-08
4
Medium Priority
?
525 Views
Last Modified: 2012-05-06
I need a sample application which will trap some event, like a keydown event, or mousedown event, etc from an application running in the background.  That is, whenever the user presses a key on the keyboard, this application traps this event regardless of whether the user was in Microsoft Word, Microsoft Excel, or even Windows Explorer (i.e. a Windows folder is open and the user preses some key).

I would prefer VB.NET, if possible.

I just need a sample so that I can add required functionality from there.

Thanks,
0
Comment
Question by:richelieu7777
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Accepted Solution

by:
xbrady earned 1600 total points
ID: 24340464
0
 
LVL 86

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 400 total points
ID: 24341090
0
 

Author Comment

by:richelieu7777
ID: 25098672
I have been *very* busy over the last couple of months.  Multiple new projects from my employer requiring me to work overtime prevented me responding in a timely manner to this question.

My apologies for the delay.

I have now evaluated the responses but do object to the points awarded as 250/250.

I would like to award split points to "xbrady" as the solution and "Idle_MInd" as the assisted solution which total the 500 points amount.  I would like to award *more* to "xbrady" -- not the even split of 250/250 suggested by Lee_Tutor.

I tried clicking on the "Accepted Solution" button next to "xbray" but could find no option to assign points also to "Idle_Mind" as the assisted solution.  Therefore, I aborted since it appeared I would be assigning all points  to "xbrady".

What do I need to do to split  the points and add grading & comments for both contributiors?

Thanks in advance.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question