| Author |
Detect Parallel port
|
|
| mathewparet@gmail.com 2005-11-25, 3:55 am |
| Hi,
I need to detect the parallel port address of a machine, using VB.
Please help. Thanks in advance.
--
Thanks & Regards,
Mathew Paret.
| |
| bartj1@gmail.com 2005-11-25, 6:55 pm |
| Visit Jan Axelson's Parallel Port FAQ site:
http://www.lvr.com/jansfaq.htm
About a third of the way down the page you will see:
"...Visual Basic has no built-in way to access ports. A solution is to
use a DLL written in Delphi or C that enables you to use inp and out
routines in Visual-Basic programs. See http://www.lvr.com for inpout32
and other options..."
Good luck.
| |
| bartj1@gmail.com 2005-11-25, 6:55 pm |
| Also,
In that same URL from Jan, scroll down a little further and see the
response to the FAQ:
Q: My company has a product that connects to the parallel port. The
process of finding the port address via WIN95's properties window is
too much for some customers - we'd like the program to be able to find
the address itself without needing the customer to find and enter the
port address. How can we find a parallel port's address under software
control?
| |
| J French 2005-11-25, 6:55 pm |
| On 25 Nov 2005 06:08:21 -0800, bartj1@gmail.com wrote:
>Also,
>
>In that same URL from Jan, scroll down a little further and see the
>response to the FAQ:
>
>Q: My company has a product that connects to the parallel port. The
>process of finding the port address via WIN95's properties window is
>too much for some customers - we'd like the program to be able to find
>the address itself without needing the customer to find and enter the
>port address. How can we find a parallel port's address under software
>control?
You might find the address - but using it is going to be a big time
problem
- under Win 95/8 I could run you up a device driver
I can't be bothered with NT/2K/XP device drivers
Under Win 9x an MSDOS box should do the trick
| |
| Dick Grier 2005-11-25, 6:55 pm |
| This is not really a problem. You can download IOocx from my homepage.
This is a wrapper for a device driver that works under all 32-bit versions
of Windows -- and is free.
Dick
--
Richard Grier (Microsoft Visual Basic MVP)
See www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
|
|
|
|