Solved

Keydown or MouseDown event Using Windows API

Posted on 2009-05-08
4
521 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
4 Comments
 
LVL 3

Accepted Solution

by:
xbrady earned 400 total points
ID: 24340464
0
 
LVL 85

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 100 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

776 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