[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 :)
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.
Re: [2008] adding class's noob question
ah I have the keybaord hook workign :D thankyou