Click to See Complete Forum and Search --> : Parallel Port Interfacing
chem1
August 2nd, 1999, 07:01 AM
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.
Dr_Michael
August 2nd, 1999, 08:02 AM
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
chem1
August 2nd, 1999, 08:30 AM
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
Dr_Michael
August 2nd, 1999, 08:41 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.