Keydown or MouseDown event Using Windows API

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,
richelieu7777Asked:
Who is Participating?
 
xbradyConnect With a Mentor Commented:
0
 
richelieu7777Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.