Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RS232 in VB.net

Status
Not open for further replies.

DMAN3021

Programmer
Aug 20, 2002
40
CA
I'm all out of ideas, so I hope someone out there can give me an answer.

I've developed a tool in VB.net that uses rs232.vb (available from microsoft website) to read and write to COM ports on my computer. The program works wonders on the development machine, as well as the original deployment machine. When I try to install it onto another machine, however, the program runs incredibly slow, holding up at the Com Port Write command. After a while, the program sometimes goes through, other times, it doesnt. I've tried all updates I could find, tried on multiple machines, even tried installing .NET on someof the deployment machines that dont work, with no success...

Anyone have any idea on what is going on? Like I said before: I'm all out of ideas! (and very tired, ha!)

Thanks,

Dan...
 
It sounds to me like a basic COM port conflict. if working with COM 1, COM 1 & 3 cannot be in use by any other device. If workeding with COM 2, COM 2 & 4 cannot be in use by any other device. I would also suggest checking device manager and making sure your ports all look kosher. If everything looks good, try deleting all COM ports on the problem machine and let windows reinstall these ports. Also check the BIOS on the problem machine and make sure that no conflicts are defined here. Try resetting to the defaults and make sure PNP (Plug N' Play) is set where posible.

These are just some shots in the dark, but worth a try.

Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top