Direct I/O on printer port

Under Qbasic it is possible to output data directly to

any printer port with the statement: out dev,data

How can I do that with VB4, VB5 or VB6, I found Portz10.vbx,

but it is only for VB16. By the way how do I write

a programm like Portz10.vbx, I am very new to VB.



  • It's not possible to output any value to any ports by using VBA or VB. U have tp write a DLL by using Pascal, Delphi or C . This file must be in the "System"-directory of Windows. In VBA u can include Dll's. So u can output and read ports.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!