?
Solved

VB Programming for COM Port Data Capture

Posted on 2003-03-03
3
Medium Priority
?
302 Views
Last Modified: 2013-11-25
I want your help to know about how to make my programe to read the Data from the Scanner Connected to COM Port and the main problem is their will be two scanners one will be to COM1 and the other scanner will be connected to Com2 when the USer scans in the COM 1 the item is considered as Check In Form and when they use COM 2 they need to inform it has check out

Can anyone help me to say how to do this

thanks

sasikala
0
Comment
Question by:sasiganesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
phenotype earned 300 total points
ID: 8083785
As long as you know the baud rate and parity settings of the scanners, VB makes this pretty easy.

Use one MSComm control per comm port that you want to access.  Set the properties such as the port number, etc.

This control has a lot of functionality, but normally I just set the .portopen property to true and then use a timer on a small delay to poll the .input property for the data.
0
 

Expert Comment

by:CleanupPing
ID: 9447400
sasiganesh:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

741 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