How can I get parallel port signal in visual Basic ?
![]() |
How can I get parallel port signal in visual Basic ?
I don't think you can, but you could always have your program switching between each port.
Start Loop
Check Port1
Check Port2
End Loop
This is always the risk that you will not be able to be a client or server on separate ports, if the above doesn't work, try having separate forms checking each port, then have them send info to a main port via public properties.
If none of this works, please post some code, and I will try and provide as much info as I can.
Note: I use VB.NET 2005
Note: I have a friend who uses VB 6
The poster is referring to a parallel printer port and I'm guessing probably wants direct hardware access under Windows 2000 or later. I have no experience with doing this, but a quick Google seemed to indicate it was possible via a custom DLL or control or by writing a driver yourself with info from the Windows DDK. The How to access serial and parallel ports by using Visual Basic .NET article has some info on using Microsoft's control.Quote:
Originally Posted by melondotnet
What are you trying to do?
Sorry, I was talking about server/client ports.
Yeah, I got that.:)Quote:
Originally Posted by melondotnet
All times are GMT -7. The time now is 01:58 AM. |