How do you create a Win32 App that launches "Notepad" when the key "N" and "Y" are been pressed either at the same time or subsequently in an orderly order?
And be able to record how many times the keys are been pressed onto a file in C:\?
Printable View
How do you create a Win32 App that launches "Notepad" when the key "N" and "Y" are been pressed either at the same time or subsequently in an orderly order?
And be able to record how many times the keys are been pressed onto a file in C:\?
For the launching use
ShellExecute (look it up @ msdn)
for capturing keys check this thread, look at my reply:
http://www.vbforums.com/showthread.p...hreadid=227490
for writing to a file:
http://www.vbforums.com/showthread.p...hreadid=228460
with this info you can figure it out... if you can't, I can help you tomorrow :)