Windows Vista Forums

Panic Button input device - how to..
  1. #1


    Fred Heida Guest

    Panic Button input device - how to..

    Hi,



    I have a USB Panic Button device.. but how i can now from my program
    interact with this device? i.e how or what do i need to register for to get
    notified when the 'button' gets pressed??

    any help appriciated!

    Regards,
    Fred



      My System SpecsSystem Spec

  2. #2


    Gregory A. Beamer Guest

    Re: Panic Button input device - how to..

    =?Utf-8?B?RnJlZCBIZWlkYQ==?= <Fred Heida@newsgroup>
    wrote in news:3731A960-48FF-4E7B-B3B8-F0CA1EA4CF80@newsgroup:

    > Hi,
    >
    > I have a USB Panic Button device.. but how i can now from my program
    > interact with this device? i.e how or what do i need to register for
    > to get notified when the 'button' gets pressed??
    >
    > any help appriciated!
    In general, you need to discover if the device is hooked up before you
    can handle input from the device. Worst case here is checking the
    registry.

    Assuming you have already conquered the above, you need to know what the
    device actually sends to the computer. This should be found in the
    manual that comes with the device.

    Most likely, you are either a) waiting for an event to happen (and the
    device most likely has a driver that raises the event) or b) you are
    listening for input on a specific port (serial port emulation, most
    likely).

    In each of these cases, the Panic Button manufacturer should be able to
    guide you to how the button works. If you can find this information and
    post it, someone can tell you what to do in .NET. If not, we are all
    just shooting fish in the dark.

    peace and grace,



    --
    Gregory A. Beamer
    MVP; MCP: +I, SE, SD, DBA

    Twitter: @gbworld
    Blog: http://gregorybeamer.spaces.live.com

    *******************************************
    | Think outside the box! |
    *******************************************

      My System SpecsSystem Spec

  3. #3


    DickGrier Guest

    Re: Panic Button input device - how to..

    What information did you get from the manufacturer of the device? In
    general, there would be an API furnished with it, if they intend that you
    interact with it from programs that you write. Some devices that install as
    HMI (you can view your actual installed device via Device Manager in Control
    Panel) might also be candidates, even if the manufacturer provides no
    information. However, there isn't a "one-size-fits-all" answer.

    Dick

    --
    Richard Grier (Microsoft MVP - Visual Basic) Hard & Software 12962 West
    Louisiana Avenue Lakewood, CO 80228 303-986-2179 (voice) Homepage:
    www.hardandsoftware.net Author of Visual Basic Programmer's Guide to Serial
    Communications, 4th Edition ISBN 1-890422-28-2 (391 pages) published July
    2004, Revised July 2006.


      My System SpecsSystem Spec

  4. #4


    Fred Heida Guest

    RE: Panic Button input device - how to..

    Hi Gregory and Dick,

    thx for your response.
    I should have indeed looked a bit closer on the cd and notice the dll
    TenxHID.dll

    i found a good artical on http://pastebin.com/f3de7bfa6
    that described the calles the can be made.

    Cheers,
    Fred


      My System SpecsSystem Spec

Panic Button input device - how to.. problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
KME Inc. - Input - USB Human Interface Device Nikilet Software 1 21 Dec 2009
USB Input Device Problems Buckdog General Discussion 1 11 Oct 2009
VISTA64 Media Center Compatible SVideo Input Device BP Vista hardware & devices 6 10 Jul 2007
Microphone or Sound Input Device Problem thatguy181 Vista hardware & devices 1 01 Jun 2007
pci input device Martin deLivron Vista General 6 20 Jun 2006