I am trying to access LPT1 port so that I can send data to the pins from 0 to 7(8 bit).
How can I achieve this in VB5.0.
The MSCOMM control only allows serial port interfacing.
Printable View
I am trying to access LPT1 port so that I can send data to the pins from 0 to 7(8 bit).
How can I achieve this in VB5.0.
The MSCOMM control only allows serial port interfacing.
As you said the MSComm Control only allows serial port interfacing. In order to control your parallel port, the only solution is to use API calls, because there is NOT such a tool. In fact, the MSComm Control what is it doing, is to call API commands. ;-)
Michael Vlastos
Company MODUS SA
Development Department
Athens, Greece
Tel: +3-01-9414900
Thanks a lot for your answer.I would appreciate if you could please point out the relevant API and how touse it since I have already
There is a INPOUT32.DLL out there on net. Download it and then you can easily use two commands. I think these are: INP and OUT. I used it a long time ago and don't remember well... If you don't find this dll, email me to send you by email...
Michael Vlastos
Company MODUS SA
Development Department
Athens, Greece
Tel: +3-01-9414900