Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Drive letter assignment for net setup
Message
 
À
05/05/1998 14:43:01
Mark Kessler
U.S.M.C. - Network Operation Center
Quantico, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00097129
Message ID:
00097139
Vues:
23
>After my network setup is completed it runs a post setup program... the program is supposed to find out which drive the network tables are on. Some users do not have the same drive letter assignment. I
>can ask the users what drive it is on... but I need a way to verify that the files exist there.
>Thanks.

There are a couple of ways to do this. You could use the Foxtools library function DriveType(), to check what drives are assigned and networked. You could also use the following Win API functions for the same purpose: GetDriveType(), GetLogicalDrives(), and GetLogicalDriveChars(). Then, using the FILE() function, you can add the drive letter to the path and name to determine if the file(s) exist for that letter.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform