Hey, can't seem to get this code to work.
I am working on VB.net Express.
I added the code, but I seem to get an error:
"A call to PInvoke function 'WindowsApplication1!WindowsApplication1.Form1::GetAsyncKeyState' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature."
And of course it crashes...And ideas?