Results 1 to 3 of 3

Thread: [2008] adding class's noob question

  1. #1

    Thread Starter
    Addicted Member macuiare's Avatar
    Join Date
    Jan 2009
    Posts
    229

    [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

  2. #2
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    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.

  3. #3

    Thread Starter
    Addicted Member macuiare's Avatar
    Join Date
    Jan 2009
    Posts
    229

    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
  •  



Click Here to Expand Forum to Full Width