Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return UNC path for shared local LPT1:
Message
De
07/11/2000 13:30:23
 
 
À
07/11/2000 12:20:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00438857
Message ID:
00438908
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform