Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Device attached on Mouse Port VB
Name: Rahul Date: March 21, 2003 at 07:02:03 Pacific OS: Win 98 CPU/Ram: PII 64
Comment:
hi I have a problem in a software please help I have a special hardware device, that is attached to the mouse port(Foot click). I want to see the activity generated by the switch in my VB application, so that i can act accordingly on some interrupt from it. Basically this hardware will be used by doctors to click photograph of human body thru special camera, by foot clicking they donot lose focus while clicking
Name: borelli34 Date: March 21, 2003 at 18:33:13 Pacific
Reply:
================================================================ This would be more dependent upon the hardware (the foot click device) rather than the software. The mouse device driver doesn't care where it gets the signal from (nor does it even know). It just looks for the signal and responds according to its programming. So...if the click device is tied in to the port in such a way as to generate the signal then any mouse driver will perform the task and any program that is asked to look for a mouse click will recognize the foot click; not as a foot click but as a mouse click.
borelli34
0
Response Number 2
Name: elric Date: March 26, 2003 at 00:52:07 Pacific
Reply:
G'day,
As Borelli34 states, it will all depend on how the device is connected. Does it emulate a mouse? IE is it wired to give the same inputs? If that is not the case, then you will probably have to monitor the port direct, and with VB it will probably involve a third part DLL such as inout32.dll or winasm.dll. regards, Elric
Summary: I dont really know, but one cheap way to do it is have your program listen on whatever port...and thats it. Then no other programs can listen on that port. Thats about all I can think of to do it easy...
Summary: hello, its me again.. thanks chi happens for your short but helpful advice. I have managed to port a test vb application to the web browser. But still, why is it that the htm document generated conta...
Summary: Hi, We are preparing a software which takes input through serial port from a device and emulates mouse in that application. For example given a correct input from the serial port a button will be pres...