Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WNetGetResourceInformation
Message
De
05/11/1998 19:22:20
 
 
À
05/11/1998 08:00:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00154295
Message ID:
00155064
Vues:
16
The easiest way I can think of is to scan all drives and see if there's one connected to a specific remote path. You can use GetLogicalDriveStrings() to enumerate the drives and WNetGetConnection() to get the remote path associated with a drive letter.

If you're using VFP, you can use my DriveInformation class (from the Files section) to retrieve this info in a easier way.

Vlad

>Any other way to find a local letter for a network drive?
>Thanks Mark
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform