borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Unwanted retention of variable)Next Topic (Control Required) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Serial Mouse
Poster Message
Vpa
Level: Sage


Registered: 14-03-2004
Posts: 66

icon Serial Mouse

Can anyone help me with creating some sort of VB driver for a serial mouse?

I'm connecting a mouse to COM 1, then I want to create MouseMove, Mousedown, etc, events.

I'm not sure if it can be done with MSComm...  

____________________________
Shondoit fais G'ot < http://home.deds.nl/~7dfp >

19-02-2006 at 02:36 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon Re: Serial Mouse

Hi,
I can get you the pure assembler (x86) but Windows interferes(:spelling?) are you sure?
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

19-02-2006 at 08:33 PM
View Profile Send Email to User Show All Posts | Quote Reply
Vpa
Level: Sage


Registered: 14-03-2004
Posts: 66
icon Re: Serial Mouse

If you could make it in a Dll or ActiveX, that would be great

But I forgot to tell the mosst important part
I dont want it to control the mousepointer. ie, I want to use my normal mouse besides it.
So when you move mouse #2, only some bits are sent to the com port, and I want to do the coding for that

____________________________
Shondoit fais G'ot < http://home.deds.nl/~7dfp >

19-02-2006 at 10:43 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon Re: Serial Mouse

Hi,
I don't think you understood. MSWindows controls all input into the apps (esp. 98+) so you would have to write hard-ware stuff to get to the mouse. Is it so important to actually have the mouse? What are you trying to do?
K


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

19-02-2006 at 10:54 PM
View Profile Send Email to User Show All Posts | Quote Reply
Vpa
Level: Sage


Registered: 14-03-2004
Posts: 66
icon Re: Serial Mouse

I'm trying to use 2 mouses. 1 normal USB mouse. And 1 programmed Serial mouse. So I need to handle the Com input of that mouse

[Edited by Vpa on 20-02-2006 at 02:48 PM GMT]

____________________________
Shondoit fais G'ot < http://home.deds.nl/~7dfp >

19-02-2006 at 11:04 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
Vpa
Level: Sage


Registered: 14-03-2004
Posts: 66
icon Re: Serial Mouse

Maybe this site can help? link

____________________________
Shondoit fais G'ot < http://home.deds.nl/~7dfp >

20-02-2006 at 06:44 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB General : Serial Mouse
Previous Topic (Unwanted retention of variable)Next Topic (Control Required) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder