roni21702
04-04-2006, 12:41 PM
I would like to make a vb program that has 8 click buttons on it. These buttons will corispond with the 8 outputs on a parallel port. What I want happen is for the pin to go high when the button is clicked. I would also like to have a button that controlles these buttons so that can be momentary or on and off. I have only begun vb but I can make the visual interface if you guys can help me with the code. Any ideas or has anyone made a program like this? Please let me know.
Carel
04-04-2006, 01:54 PM
Have you tried Google "Parallel port driver Visual Basic"? More than enough food for research I think.
Carel
WayneHill
04-04-2006, 02:28 PM
http://www.lvr.com/
http://www.logix4u.net/inpout32.htm
You are looking for a VB program that uses the 'Input32.dll' interface to access the LPT port. There are many issues relating to direct access to the LPT port through Windows. Do some homework and these issues will show up on several websites.
JRoque
04-04-2006, 03:42 PM
What Wayne says. I use hwinterface.ocx and set pins with this format:
Hwinterface1.OutPort CommandPort, HexNum '/where HexNum is the hex number of the pin(s) you want on/off. There's also a DataPort param that let's you up characters to an LCD, for example. And it works with XP too.
JR