Re: Keyboard events
- From: "Dave" <nobody@xxxxxxxxxxx>
- Date: Tue, 20 Jun 2006 15:40:09 +0100
Two points
1) This group is for VB6 not vb.net which is a totally different language
2) I can think of very few legitimate reasons to write a key logger, not
many people will help you write a malicious program and of course if you
were to place it on a 3rd party PC, giving you assistance could be regarded
as being an accessory to a crime.
Dave O.
"Pitaridis Aristotelis" <pitaridis@xxxxxxxxxxx> wrote in message
news:1150717995.284545@xxxxxxxxxxx
I am trying to develop a keyboard log so that I will be able to log all the
keys that pressed in my computer. I have used the GetAsyncKeyState API
function but I have a problem with the language. For example, I can not
understund if the key pressed is the english leter a or the equivalent
Greek leter. Does anyone know a way to detect the current language of the
system or an other way to solve the above problem? Below I have part of my
code in VB.NET that I use in order to chatch the keys pressed by the user.
' check for letter a
keyPressed = GetAsyncKeyState(65)
If keyPressed = -32767 Then
addKey = 'a'
GoTo KeyFound
End If
I use similar code for all the keys of the keybord in order to detect the
key that user pressed.
Thanks!
Aristotelis
.
- Follow-Ups:
- Re: Keyboard events
- From: Pitaridis Aristotelis
- Re: Keyboard events
- References:
- Keyboard events
- From: Pitaridis Aristotelis
- Keyboard events
- Prev by Date: Re: Problem with GetFileSecurity ?
- Next by Date: Re: Problem with GetFileSecurity ?
- Previous by thread: Keyboard events
- Next by thread: Re: Keyboard events
- Index(es):
Relevant Pages
|