Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB or VC++ to read COM port

Posted on 2000-05-16
3
Medium Priority
?
167 Views
Last Modified: 2012-08-14
I am trying to figure out how to make a program to read data from COM port. The data may come as a stream or as a packet.
Is there any template or function in VB, VC++ which may assist me in doing so?
Please show me the way...........
0
Comment
Question by:ck17
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 210 total points
ID: 2814335
a small tutorial to get you started:

http://www.vbweb.co.uk/tutorials/com_ports.htm

0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 2814399
in VB you have COM Control, that enables you the read/write from com ports (with selection of com port, baud rate, protocol aso)
Check "Microsoft Comm Control" in Project Components.

Good luck
0
 
LVL 9

Expert Comment

by:GivenRandy
ID: 2814405
VBTerm is a full source VB terminal emulator, like HyperTerminal.  It is a must-have for developers doing communications work in VB (an easy backup check):

Description:
http://msdn.microsoft.com/library/devprods/vs6/vbasic/vb98/vbprovbtermvbtermvbp.htm

Code:
http://msdn.microsoft.com/library/devprods/vs6/vbasic/vb98/samples/mscomm.exe
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question