PC Review


Reply
Thread Tools Rate Thread

How to access serial ports in VB .NET 2003 ?

 
 
John
Guest
Posts: n/a
 
      18th Oct 2004
I have just upgraded my computer to Windows XP and Visual Studio .NET
2003 from Windows 2000 and VB 6. I have been looking around VB .NET and
can't seem to find the MSCOMM componet. Has the method to access the
serial ports in VB .NET changed ? I have read that you can use VB 6 COM
objects in VB .NET but I was hoping that Microsoft had a .NET solution
for accessing the serial ports.

Also is there a good reference on how to communicate with USB devices ?

Thanks for you help.

John
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      18th Oct 2004
Hi,

In the vb.net resource kit there is the free sax.net community
edition control. It supports sending and recieving from serial ports.
Maybe that will help.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

Ken
-----------------------------
"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
I have just upgraded my computer to Windows XP and Visual Studio .NET
2003 from Windows 2000 and VB 6. I have been looking around VB .NET and
can't seem to find the MSCOMM componet. Has the method to access the
serial ports in VB .NET changed ? I have read that you can use VB 6 COM
objects in VB .NET but I was hoping that Microsoft had a .NET solution
for accessing the serial ports.

Also is there a good reference on how to communicate with USB devices ?

Thanks for you help.

John


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      18th Oct 2004
"John" <(E-Mail Removed)> schrieb:
> Has the method to access the serial ports in VB .NET changed ?


Thomas Scheidegger's Serial Port FAQ (in German)
<URL:http://groups.google.com/groups?selm=O2UyhTLvDHA.1680%40TK2MSFTNGP12.phx.gbl>

..NET 2.0 will provide support for accessing the serial port:

'SerialPort' Class
<URL:http://longhorn.msdn.microsoft.com/lhsdk/ref/ns/system.io.ports/c/serialport/serialport.aspx>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

 
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
Serial Ports, Com Ports and USB Phil Windows Vista Hardware 6 28th Jan 2009 12:03 PM
Problems With Serial Ports in Windows Server 2003 =?Utf-8?B?RGFuaWVs?= Microsoft C# .NET 0 8th Jan 2006 06:51 AM
Serial Ports =?Utf-8?B?RGlvZ28gQWx2ZXMgLSBTb2Z0d2FyZSBEZXZlbG9w Microsoft C# .NET 2 29th Nov 2005 03:55 PM
how to access serial ports configured for ras? ILiya Windows XP Setup 0 3rd Jan 2005 03:35 PM
serial ports (comm ports) james Windows XP General 0 3rd Aug 2003 11:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:32 PM.