Unfortunately we do not provide any mechanism in the framework to easily
accomplish serialport communication. This is a highly requested feautre and
we are seriously considering it for the next release.
However there is some documentation that might help you. The following has
a few links under the Accessing COM ports from C#/VB.Net that might be
helpfull:
http://www.gotdotnet.com/team/csharp/code/default.aspx
This has some samples implementations that you could use:
http://www.gotdotnet.com/community/u...x?query=Serial
I have personally used the following sample and it provided all of the
functionality that I needed:
http://www.gotdotnet.com/Community/U...mpleGuid=b06e3
0f9-1301-4cc6-ac14-dfe325097c69
Thanks,
Ryan Byington [MS]
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "Jeff" <pr*******@hotmail.com>
Newsgroups: microsoft.public.dotnet.languages.vc
Subject: Serial port and C++ .NET
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <V6********************@wagner.videotron.net>
Date: Mon, 1 Sep 2003 22:18:31 -0400
NNTP-Posting-Host: 66.131.57.98
X-Complaints-To: ab***@videotron.ca
X-Trace: wagner.videotron.net 1062469173 66.131.57.98 (Mon, 01 Sep 2003
22:19:33 EDT)NNTP-Posting-Date: Mon, 01 Sep 2003 22:19:33 EDT
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!newsfeed.icl.net!newsfeed.fjserv.net!proxad.n et!proxad.net!newshosting.
com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!wesl ey.videotron.net!
wagner.videotron.net.POSTED!not-for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vc:27781
X-Tomcat-NG: microsoft.public.dotnet.languages.vc
Hello,
Someone can help me about serial port with C++ .NET (Windows forms
application). Like setting port, opening it, transmiting, receiving,
closing, etc.
Thanks very much (for me and my students)