• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 462
  • Last Modified:

Accessing Parallel Port

Looking for code to access the Parallel Port on a PC using VB?
I would like to do two things:

Application is a toy electric car track where cars will cross a sensor (sensor can provide a voltage or a ground).
There are 6 cars. I would like to have a signal to turn on a relay for a given amount of time (to give the cars power)
and start counting the cars activities.

I would like to time each car individualy for lap time and I would like to count how many laps the cars went.
I would like to use the Parallel Port, I can use a buffer amplifier like a 74lm244 or equv.
Can someone help me with the VB program?
1 Solution
georgevictorAuthor Commented:
Edited text of question.
VB does not have a control that communicate to the parallel port similar to MSComm to serial port. There may be 3rd party control available.

addition infor on communicate with Parallel port, you can find in :

Here are some url with contains source code about parallel port communication.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now