Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Drive letter assignment for net setup
Message
 
To
05/05/1998 14:43:01
Mark Kessler
U.S.M.C. - Network Operation Center
Quantico, Virginia, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00097129
Message ID:
00097139
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform