Hey all, i need to find out how to send 8 bit word to the the Parallel Port In Visual Basic. I am controling a relay board with 8 relays on it and i need to be able to turn them on and off. Cant really get anything working so if someone has done this or has examples of it, that would be great to see! Thanks for your time, David
Have you tried dlportio? Try googling for it. It includes a example programm with source for both c++ and VB
I presume you've searched :- www.planetsourcecode.com www.vbforums.com www.visualbasicforum.com www.programmersheaven.com www.vbexplorer.com www.vbcode.com www.gamedev.net to name a few ps wots your version?
I dunno about u but id recommend trotting down to the local library and getting a VB book out, maybe you could buy one? Ud be suprised how much ul learn from em! Ive only just started learning VB and im finding the book I have very very useful!
Sorry man....... Its just that i have written a component in C++ that is easy to configure and to use from vb
no worries its just for interfacing to the outside world the parallel port is a piece of **** to use because all of the timing is done in the pc where the serial port u need to set data rates etc then u still need to decode the data on the other end (and buffer it) might do some work on serial interface at some point when i have money to buy electronics stuff again
this is my first post in a long long while. Anyway, try this link: http://uppercanadatechnologies.bizland.com/Customcontrols.html It's a VB OCX giving you control over the dreaded parallel port. I've used it and it's so easy, especially with what you want to do. Hope that helps BTW, if they charge you for it, sorry. It has been years since I got the OCX, and at the time, it was free.