In article <7uol5l$b3h$1@flood.xnet.com>,
"Kevin Ross" wrote:
>Hi all
>
>I am trying retrieve the local ip address and a list of printers that are
>available on the local machine. We have ruled out using ActiveX because we
>are having some issues with ActiveX on some of our NT boxes. We would like
>to directly query the OS for this information if possible. Any info or help
>would be greatly appreciated.
>
>Regards
>Kevin
>
>
This is not a complete answer, and may not be as clean as you like, but I can think of an
alternative: use a system exec call to launch command.com, and through command.com you can run
arp.exe (its in your windows directories) using the -a switch to return a list of IP addresses,
then maybe pipe that result to a text file an
d have labview read it. For the network printer, I
don't know exactly but maybe the 'net use' command or one of the "net..." commands out of the
dos prompt will return the resource name you need.
V.R. - Viewpoint