How TO????

Posted on 2001-07-02
Last Modified: 2012-06-27
hi experts,

I have a MSE630 ENCODER connected to COM1. My problem is I want create a VB program that will read and write data into a card using that encoder but i dont know the command that im going to use. kindly help me on this. Im willing to give up to more points for this.
also kindly let me know how to read and write by TRACK. there are 3 tracks on this encoder.

thanks in advance.

Question by:lansing123
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

Accepted Solution

gajendra earned 200 total points
ID: 6247348
You will need the programming instruction kit (also reference to as the API) for the device on COM1.

The manual that accompanies the product should generally have these listed.



Author Comment

ID: 6250938
hi gajendra,

I already have the command, by the way the device is a magnetic stripe reader/writer. my problem now is how can i make a program n VB that will wait for the card to be swiped. pls help. im willing to add more points.


Author Comment

ID: 6250950
hi gajendra,

I already have the command, by the way the device is a magnetic stripe reader/writer. my problem now is how can i make a program n VB that will wait for the card to be swiped. pls help. im willing to add more points.

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.


Expert Comment

ID: 6251323
Ok here goes.

1. Launch VB

2. Add "Microsoft Comm Control" from the Components dialog box to the tool box.

3. Drop the MSComm Control to your form.

4. Open the properties window and configure the properties...
   CommPort   - 1 for com1, 2 for com2
to indicate the port where the device is connected.
   Settings   - 9600,n,8,1
change as necessary depending on the manufacturer's specification. if nothing is specified this will do fine.

5. Now you can send out messages to the reader/writer using
   MSComm1.Output = themessage
and read from it
   themessage = MSComm1.Input

6. There are other properties like OutBufferSize, OutBufferCount, InBufferSize, InBufferCount and the event CommEvent use these as needed.


You will need you to send the detail commands for a more detailed entry.
LVL 49

Expert Comment

ID: 7147958
Hi lansing123,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept gajendra's comment(s) as an answer.

lansing123, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
DanRollins -- EE database cleanup volunteer

Expert Comment

ID: 7179065
Comment from expert accepted as answer

E-E Moderator

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month6 days, 18 hours left to enroll

622 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