Hi Good Day Guys!

Just cant find the answer. I just wanted to ask If there are any way to detect keypress while your application is minimized or not in focused?

Thank you very much.

Recommended Answers

All 3 Replies

Thats a keylogger, search in google, i could give it to you but i honestly dislike like people that code for harmness/hacking etc, so i won't post any code to do that, google it "vb.net Keylogger".

commented: Thanks +2

Yes it is possible. Try GetAsyncKeyState API function. Check this project. Its in c#. You can use it though.

if you are using vs2010 then GetAsyncKeyState lib will not work ,

regards

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.