|
-
Mar 7th, 2009, 02:08 PM
#1
Thread Starter
Addicted Member
[2008] adding class's noob question
Hey im new to visial basic, Im trying to install a small keyboard hook to get the user input and use it as hotkeys, but I dont acutally know how to install the library
how do Install
http://www.vbforums.com/showthread.php?t=436321
or add any dll to my project
-
Mar 7th, 2009, 02:17 PM
#2
Re: [2008] adding class's noob question
Hi macuiare and welcome to Visual Basic. You can use the hook to track down hotkeys but that is not a good way of doing it. The library will work but there is one problem with it. Let’s say some application has installed a hotkey and you want the same hotkey to track with in your application. That makes the other application unusable. I have a class in my signature that is called “HotKeyManager Class” that can be used to install hotkey for your application. I would recommend you to use this class for hotkeys.
But to answer to your question how to add library to your project you need to add reference to the WindowsHookLib.dll in your project by adding it from project properties -> reference tab.
-
Mar 7th, 2009, 03:30 PM
#3
Thread Starter
Addicted Member
Re: [2008] adding class's noob question
ah I have the keybaord hook workign thankyou
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|