
Visual Basic .NET Code Sample: Using the COM Port in VB.NET
Brief Description
This sample 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.
On This Page
Quick Details
| File Name: | UsingtheCOMPortinVB.NET.exe |
| Version: | 1.0 |
| Date Published: | 7/29/2002 |
| Language: | English |
| Download Size: | 207 KB |
| Estimated Download Time: | 1 min 56K |
Overview
This sample 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.)
Top of page
System Requirements
- Supported Operating Systems: Windows 2000; Windows NT; Windows XP
- Microsoft Visual Studio. NET Professional
Top of page
Instructions
- Select "Run this Program from its Current Location" to start the download immediately.
- Select "Save this Program to Disk" to copy the download to your machine for installation at a later time.
Top of page
Additional Information
Featured Highlights
This tutorial demonstrates how to use the Comm Port to communicate. In particular, it discusses:
- Testing to see if the Comm Port is available for use.
- Using the Comm Port to communicate with a modem.
- Use Win32 API calls to control communication with the Comm Port.
Top of page
Top of page
What Others Are Downloading
Top of page