Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return UNC path for shared local LPT1:
Message
From
07/11/2000 13:30:23
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00438857
Message ID:
00438908
Views:
10
>Is there a way and how do you do it, to rturn the shared name for a printer mapped to the local lpt1: port?
>
>I can get the shared names for devices mapped to the current PC but I cannot get the shared name of the local device.

DOS Tip: Rogaine.

You can enumerate the shares on a network using my NETRESOURCE class, and look for the printer shares associqted with a given server, but that doesn't solve the problems of possibly associating more than one name with a device, or the shared device being indirectly shared as a pooled resource in a domain.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform