📄 readme.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ReadMe</title>
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio.NET 7.0">
</head>
<body>
<H1>
Advanced: Using the Comm Port</H1>
<P>This how-to demonstrates how to control a communications port from .NET.
Since the .NET Framework does not support direct control of the Comm Port,
a separate class is used that provides direct Win32 API calls. (Note: Comm Port
is synonymous with COM Port, Serial Port or RS232 port.) </P>
<H2>Featured Highlights:</H2>
<P>This tutorial demonstrates how to use the Comm Port to communicate. In
particular, it discusses:</P>
<UL>
<LI>
Testing to see if the Comm Port is available for use.
<LI>
Using the Comm Port to communicate with a modem.
<LI>
Use Win32 API calls to control communication with the Comm Port. </LI></UL>
<H2>Requirements:</H2>
<UL>
<LI>
Microsoft Visual Studio.NET Professional or greater.
<LI>
Windows 2000 or Windows XP.
<LI>
A modem installed on one of the Comm Ports. (for example most laptops include a
modem).</LI></UL>
<H2>Running the Sample:</H2>
<P>To run the sample:
</P>
<OL>
<LI>
Download and unzip the code into a directory of your choice.
<LI>
Doubleclick the <STRONG>VB.NET How-To Using the Comm Port.sln</STRONG>
file.
<LI>
Click the buttons on the form to test the functionality.
<LI>
Examine the code in the sample to understand how the code works.
</LI>
</OL>
<H3>Additional Files in this Sample:</H3>
<P><STRONG>Rs232.vb</STRONG> - This file provides the structure for the
class which is used to control access to the Comm Port. The code
for this file can also be found on <A href="http://www.gotdotnet.com">www.gotdotnet.com</A></P>
<H3>
</H3>
<P> </P>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -