|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
class for handling the key strike eventCan you give us some more information, if I Google for this I get all kind
of wars, if I look this up in Wikepedia I get as well the keys in Florida? On MSDN I get a lot about key and some things about strike. Cor Show quoteHide quote "a" <a@mail.com> schreef in bericht news:OxHP3PmyGHA.4336@TK2MSFTNGP06.phx.gbl... > Hi > For VB .NET, which class is responsible for the key strike event? > Thanks > > > For example, when I hit the keyboard at the time I am typing this message,
the application knows which character I have hit. It is the event handling procedure doing the job. I would like to use the event class for my application. Thanks Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> ¼¶¼g©ó¶l¥ó·s»D :uGP1DcmyGHA.5***@TK2MSFTNGP05.phx.gbl... > Can you give us some more information, if I Google for this I get all kind > of wars, if I look this up in Wikepedia I get as well the keys in Florida? > On MSDN I get a lot about key and some things about strike. > > Cor > > > > "a" <a@mail.com> schreef in bericht > news:OxHP3PmyGHA.4336@TK2MSFTNGP06.phx.gbl... > > Hi > > For VB .NET, which class is responsible for the key strike event? > > Thanks > > > > > > > > a which application, your application can get the keydowns, and keys up
inside this application, however I have the idea that you want that as it is in some spyware to registrate all keystrokes somebody does, am I right? Cor Show quoteHide quote "a" <a@mail.com> schreef in bericht news:Oc6pTjmyGHA.3440@TK2MSFTNGP06.phx.gbl... > For example, when I hit the keyboard at the time I am typing this message, > the application knows which character I have hit. It is the event handling > procedure doing the job. I would like to use the event class for my > application. > > Thanks > > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> ¼¶¼g©ó¶l¥ó·s»D > :uGP1DcmyGHA.5***@TK2MSFTNGP05.phx.gbl... >> Can you give us some more information, if I Google for this I get all >> kind >> of wars, if I look this up in Wikepedia I get as well the keys in >> Florida? >> On MSDN I get a lot about key and some things about strike. >> >> Cor >> >> >> >> "a" <a@mail.com> schreef in bericht >> news:OxHP3PmyGHA.4336@TK2MSFTNGP06.phx.gbl... >> > Hi >> > For VB .NET, which class is responsible for the key strike event? >> > Thanks >> > >> > >> > >> >> > > > Hi
You are half right, I am creating password recovery tool for myself. I dont trust the freeware outside. In C++ for Win98, there is a class called GetAsyncKeyState. What is it for VB .NET? Thanks Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> ¼¶¼g©ó¶l¥ó·s»D :OMT1t9myGHA.2***@TK2MSFTNGP05.phx.gbl... > a which application, your application can get the keydowns, and keys up > inside this application, however I have the idea that you want that as it is > in some spyware to registrate all keystrokes somebody does, am I right? > > Cor > > "a" <a@mail.com> schreef in bericht > news:Oc6pTjmyGHA.3440@TK2MSFTNGP06.phx.gbl... > > For example, when I hit the keyboard at the time I am typing this message, > > the application knows which character I have hit. It is the event handling > > procedure doing the job. I would like to use the event class for my > > application. > > > > Thanks > > > > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> ¼¶¼g©ó¶l¥ó·s»D > > :uGP1DcmyGHA.5***@TK2MSFTNGP05.phx.gbl... > >> Can you give us some more information, if I Google for this I get all > >> kind > >> of wars, if I look this up in Wikepedia I get as well the keys in > >> Florida? > >> On MSDN I get a lot about key and some things about strike. > >> > >> Cor > >> > >> > >> > >> "a" <a@mail.com> schreef in bericht > >> news:OxHP3PmyGHA.4336@TK2MSFTNGP06.phx.gbl... > >> > Hi > >> > For VB .NET, which class is responsible for the key strike event? > >> > Thanks > >> > > >> > > >> > > >> > >> > > > > > > > > "a" <a@mail.com> schrieb im Newsbeitrag What does "key strike" mean?news:OxHP3PmyGHA.4336@TK2MSFTNGP06.phx.gbl... > Hi > For VB .NET, which class is responsible for the key strike event? You may want to check out the form's/control's 'KeyPress', 'KeyDown', and 'KeyUp' events and the form's 'KeyPreview' property. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Hi
I want it from the system resources. Like, if I install my application as the service. I want to keep track of all the Keydown, no matter which application, Word, IE or Excel is active. Just like the GetAsyncKeyState for C++ in Win 9X. Thanks "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ???????:%23ALLL1oyGHA.4***@TK2MSFTNGP04.phx.gbl...Show quoteHide quote > "a" <a@mail.com> schrieb im Newsbeitrag > news:OxHP3PmyGHA.4336@TK2MSFTNGP06.phx.gbl... > > Hi > > For VB .NET, which class is responsible for the key strike event? > > What does "key strike" mean? > > You may want to check out the form's/control's 'KeyPress', 'KeyDown', and > 'KeyUp' events and the form's 'KeyPreview' property. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > "a" <a@mail.com> schrieb: You can still use 'GetAsyncKeyState':> I want it from the system resources. > Like, if I install my application as the service. > I want to keep track of all the Keydown, no matter which application, > Word, > IE or Excel is active. > Just like the GetAsyncKeyState for C++ in Win 9X. <URL:http://dotnet.mvps.org/dotnet/faqs/?id=getkeystate&lang=en> Alternatively you'll may want to install a system-wide Win32 keyboard hook. However, note that it's maybe better to implement the hooking code in C for determined runtime behavior. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Hi
How come my .NET reference book doesnt mention this feature? Should I look for books called something like Win32 programming for WinXP? Thanks "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ???????:u3reTUvyGHA.4***@TK2MSFTNGP06.phx.gbl...Show quoteHide quote > "a" <a@mail.com> schrieb: > > I want it from the system resources. > > Like, if I install my application as the service. > > I want to keep track of all the Keydown, no matter which application, > > Word, > > IE or Excel is active. > > Just like the GetAsyncKeyState for C++ in Win 9X. > > You can still use 'GetAsyncKeyState': > > <URL:http://dotnet.mvps.org/dotnet/faqs/?id=getkeystate&lang=en> > > Alternatively you'll may want to install a system-wide Win32 keyboard hook. > However, note that it's maybe better to implement the hooking code in C for > determined runtime behavior. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> > "a" <a@mail.com> schrieb: Look for keywords like "Win32", "platform invoke", "p/invoke" or similar in > How come my .NET reference book doesnt mention this feature? Should I look > for books called something like Win32 programming for WinXP? the books' descriptions. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> "a" wrote: You need to install a WH_KEYBOARD_LL hook to monitor key events across all > Hi > I want it from the system resources. > Like, if I install my application as the service. > I want to keep track of all the Keydown, no matter which application, Word, > IE or Excel is active. > Just like the GetAsyncKeyState for C++ in Win 9X. applications. There are no native .NET functions that will do this for you. You will need to use pinvoke to access the appropriate Win32 and User32 functions. We offer a component that will do this for you: http://www.mini-tools.com/goto/input |
|||||||||||||||||||||||