Although VB6 doesn't contain any inbuilt function for the low level hardware access.Try using some DLL or activex control made by the tool such as VC or BC.
Some available solutions are JUNGO driver sdk its a nice tool for the professional development try it its cool. and universal.
u can use inpout32.dll from logix4u.com for let 8 bit to status port (&h379) u must use 2-1 multiplexer like 74ls157, for details e-mail at [email protected]
PORT A (Data) address 378H
PORT B (Status) address = PORT A + 1 = 379H
PORT C (Controll) address = PORT A + 2 = 37AH
PORT A = OUTPUT PORT, u only can send data (can't receive)
PORT B = INPUT PORT, u can receive data from PORT B but only 5 BIT, and the last bit is inverted (if the bit is 0, the actual bit is 1, vice versa).
In order to achieve this I've found that you may edit the bios program of your PC to make the data port on LPT1 bi-directional. I'm still looking for the exact way to edit this file but that's the way to do it.