PC Review


Reply
Thread Tools Rate Thread

Cannot access serial port

 
 
Heather
Guest
Posts: n/a
 
      8th Jul 2004
Hi, Im having trouble accessing my serial port since I
upgraded to XP pro. Applications give error messages such
as "Com port in use". I have no software running that I
can see that is holding the port and I have checked
startup and taskmanager processes.

The comm port is enabled in bios and shows normally in
device manager. I am having this problem with a few pcs
at the moment since our company upgraded.

I have tried writing a couple of lines in VB6 to try and
open the com port:

if mscomm1.portopen = false then
mscomm1.portopen = true
end if

When running this, I had a breakpoint on the first line,
the program would step into the second line (which
suggests the comm port is not responding as open) but on
executing the port open command would give error
message "port already open". This doesnt make sense!

Can anybody help?
 
Reply With Quote
 
 
 
 
Thomas Lutz
Guest
Posts: n/a
 
      4th Aug 2004
There are two possibilities that you might look into.
The first thing that you might try is deleting the COM port from the
device manager in the control panel and restarting your PC and letting
Windows reinstall the port.
The other possibility is that if you have a device connected to the
port and the device outputs data either continually or when the port
is opened, Windows may be mistaking the device for a mouse when it
starts up and installing the a mouse driver for the port.
The following article discusses this issue and how to deal with it:
http://www.taltech.com/support/troublsht/NTDetect.htm


For more serial I/O tips, tricks and utilities, visit: www.taltech.com



On Thu, 8 Jul 2004 03:09:22 -0700, "Heather"
<(E-Mail Removed)> wrote:

>Hi, Im having trouble accessing my serial port since I
>upgraded to XP pro. Applications give error messages such
>as "Com port in use". I have no software running that I
>can see that is holding the port and I have checked
>startup and taskmanager processes.
>
>The comm port is enabled in bios and shows normally in
>device manager. I am having this problem with a few pcs
>at the moment since our company upgraded.
>
>I have tried writing a couple of lines in VB6 to try and
>open the com port:
>
>if mscomm1.portopen = false then
>mscomm1.portopen = true
>end if
>
>When running this, I had a breakpoint on the first line,
>the program would step into the second line (which
>suggests the comm port is not responding as open) but on
>executing the port open command would give error
>message "port already open". This doesnt make sense!
>
>Can anybody help?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
access serial port from ASP.NET 2.0 leovg Microsoft ASP .NET 4 16th Nov 2005 08:19 AM
serial port access from asp.net =?Utf-8?B?QWwgdGhlIHByb2dyYW1tZXI=?= Microsoft ASP .NET 13 5th Apr 2005 06:32 PM
how can I access serial port ? daniele73ps Microsoft ASP .NET 1 9th Feb 2004 09:30 PM
Serial port access Tom Healy Microsoft Access 3 1st Dec 2003 04:37 PM
Access serial port on a client via web? Bill Belliveau Microsoft Dot NET 2 24th Sep 2003 12:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:37 AM.