Solved

Reading from serial port causes mouse to stop responding

Posted on 2006-11-27
7
214 Views
Last Modified: 2010-04-23
Hi All,

I am using the serial port in vs2005 and when I read from it, my mouse becomes unresponsive for a while. Sometimes it "comes back" i.e starts working again, and other times not.

My serial port is a usb to serial converter and my mouse is a usb optical.

I can only think that something is happening to the usb side of things.

The port is the standard system.io.ports serial port.

Thanks
0
Comment
Question by:nzfire
  • 4
  • 2
7 Comments
 
LVL 5

Accepted Solution

by:
Collindsouza earned 500 total points
ID: 18023018
http://blogs.msdn.com/bclteam/archive/2006/10/10/Top-5-SerialPort-Tips-_5B00_Kim-Hamilton_5D00_.aspx provides some good guidelines for using the SerialPort class and includes some simple examples.
0
 
LVL 1

Author Comment

by:nzfire
ID: 18024393
Hi Collindsouza,

Thanks for the link. I have been there several times previously to look for solutions! LOL
0
 
LVL 7

Expert Comment

by:Mohamed Zedan
ID: 18026781
did you try connecting the mouse on another usb port which should be on another usb controller ?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Author Comment

by:nzfire
ID: 18026971
Will try that mohzedan,

I believe that it is currently on another controller... I will post back here when I test it.
0
 
LVL 1

Author Comment

by:nzfire
ID: 18034257
yes, it is on the same controller... :(
0
 
LVL 7

Expert Comment

by:Mohamed Zedan
ID: 18035613
so when you moved the mouse to another usb port did it work ok ?
I think the issue is with the usb-serial cable some of them are of low quality and cause alot of problems sometimes... I worked with one from radio shack and it works perfectly :)
0
 
LVL 1

Author Comment

by:nzfire
ID: 18112999
Hi,

Ok, I think I have worked it out... the serial port in vs2005 has issues! LOL

I have created a delegate to deal with receiving the data and this seems to work ok...

Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now