CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Keyhooks

  1. #1
    Join Date
    Sep 1999
    Location
    India
    Posts
    1

    Keyhooks

    How do i trap all the keystrokes interpreted by the system from a TSR in VB using Keyhooks. Basically i want to know how to remove the prog from the Alt+Tab cycle and to set up the hook for trapping keystrokes?


  2. #2
    Join Date
    Sep 1999
    Posts
    17

    Re: Keyhooks

    I think without a small peace of c++ source thats not possible in vb.
    (I found no way to create systemwide hooks in vb). If you want to have the c++ source for a dll that helps vb to create a systemwide hook then send your email adress to: [email protected]
    (My sample uses vb6 and vc5)


  3. #3
    Join Date
    Jul 1999
    Posts
    145

    Re: Keyhooks

    vbaccelerator.com has a good article and source code for using hooks in VB. He also talks about capturing key strokes so you may want to give it a look.


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

Featured