How can i access the parallel port in VB.net?help pls

Hi guys,

Kinda new with VB.Net, need help on how i can access the parallel port, and read/write data to it....any suggestion guys.thanks a lot.

[156 byte] By [gen_sis] at [2007-12-29]
# 1

The answer is simple - you can't! There is no support for the parallel port in .NET.

I have seen that it is possible to gain access by means of a dll file called inpout32.dll and PortAccess.Output(888, ByteValue), where 888 is the address of LPT1, but I have not tried it and I do not know where this dll file comes from, but maybe it can lead you in some useful direction.

PS. Don't say "any suggestions guys" - ReneeC will give you a lesson ;-)

CarstenKanstrup at 2007-9-5 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 2

You can download the dll including source code from this URL.

http://www.logix4u.net/inpout32.htm

CarstenKanstrup at 2007-9-5 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...