Solved

Keydown or MouseDown event Using Windows API

Posted on 2009-05-08
4
520 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now