Dear sir,
I was trying to control the bits written to some LEDs via the parallel port data port that was bidirectional :
Private Sub ScrollBar1_Change()
Label1.Caption = ScrollBar1.Value
Out &H3BC, ScrollBar1.Value
End Sub.
I could already access the parallel port using inpout32.zip files and windows 98 compatibility mode on windows xp, the problem am having is that when I tried to read the data port and other ports, they permanently reads 20 no matter what I write into them, also when I connected bits 0, 1, and 2 to LEDs, the LEDs turned on meaning that logic 1 is there but when I vary the values on the scroll bar according to the code, there was no change on the output LEDs. Sir, what am I doing wrongly. Thanks.
Olakunle.