Solved

VB or VC++ to read COM port

Posted on 2000-05-16
3
157 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 70 total points
Comment Utility
a small tutorial to get you started:

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

0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now