I wrote a Visual C++ dll to capture keyboard input from any application and call it with in visual basic. I have seen a lot of keyloggers out there that do the same thing but they do not show you how to create the dll.
this code was inspired by Konstantin Tretyakov.
The new Update fixes some issues where the dll would stop working. I did not fix it, that credit can go to Ari Perelman. Thanks again Ari.
Assumes
Recommend knowledge of some VC++ and how to use standard API calls.