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
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
=?Utf-8?B?RnJlZCBIZWlkYQ==?= <Fred Heida@newsgroup>
wrote in news:3731A960-48FF-4E7B-B3B8-F0CA1EA4CF80@newsgroup:
In general, you need to discover if the device is hooked up before you
> 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!
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! |
*******************************************
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.
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
| 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 |