Insy
Nov 5th, 2003, 10:25 AM
Goal:
Single form
On click of Command button 1
"Take over" certain keyboard keys (function keys if possible, or ctrl+key etc) Set those keys to copy a string to the clipboard
On click of Command button 2
"Release" the keys
I have been trying to use the code found here:
http://download.elementkjournals.com/vbasic/200310/
But I have had no luck so far. If the code above should work could someone possibly explain how I would use it to accomplish my goal?
If this is impossible in VBA could someone post any other ideas if they have any? I'm willing to use other languages as long as the compiler is free and it would be compatible with win95 - win2k machines.
I would like to do it A2k/VBA simply because every machine has A2k on their system and work will not purchase VB development software.
Thanks for the time,
Ins
EDIT: The reason I think the function keys would not be possible is this link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbadev/html/keyboardinformation.asp
Single form
On click of Command button 1
"Take over" certain keyboard keys (function keys if possible, or ctrl+key etc) Set those keys to copy a string to the clipboard
On click of Command button 2
"Release" the keys
I have been trying to use the code found here:
http://download.elementkjournals.com/vbasic/200310/
But I have had no luck so far. If the code above should work could someone possibly explain how I would use it to accomplish my goal?
If this is impossible in VBA could someone post any other ideas if they have any? I'm willing to use other languages as long as the compiler is free and it would be compatible with win95 - win2k machines.
I would like to do it A2k/VBA simply because every machine has A2k on their system and work will not purchase VB development software.
Thanks for the time,
Ins
EDIT: The reason I think the function keys would not be possible is this link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbadev/html/keyboardinformation.asp