controlling a button by parallel port
Acctually i am looking to control some realworld's electronic's with the help of parallel port, i already know about parallel ports basics and some other stuff, so by the help of these things i created a simple circuit with a switch on it simply controlling a led and connect this circuit to parallel port of my pc in the inputs pins (pin10 or 11) of parallel port. On the other hand i made a form in my VB and place a button on it and in the click event of this button i write some code to check the inputs of my parallel port with the help of inpout32.dll file, so by pressing the button on my form activate a msgbox that tells weather the button of circuit is ON or OFF.
No my QUESTION is that how i can control this msgbox from my circuit's Button? (all i means that when i ON the button of my circuit board i would like to see this msgbox appear on my pc's screen " Your switch is ON and Led is Working Now" and same thing happens with is switch off my circuits's Button.)
HOPE to See Good Response!!!

