I/O Using Serial and Parallel port

G

Thread Starter

Gaurav

I am making a project in which i have to send output from parallel port and input from serial port. How can i do it using VB 6.0?
 
M
Hi,

For the serial port, you can use the MSComm control ( for input you will need to fiddle around with the OnComm Event, or poll the input periodically ).

I'm not sure about the parallel port...
 
Y

Yeasir Rahul

Hi,

I guess it is a student project. Therefore, I'll give an overview only. Use these hints, and search technical literature for more informaton.

For serial port, use VB control MSComm.

For parallel port, use some third party DLL that provides I/O functions . There are some free DLLs for downloading. www.beyondlogic.com has several.

Cheers
Yeasir Rahul
VoltSmith Technologies
Industrial Automation and Data Acquisition
 
Top