Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mapping network drives
Message
De
10/10/2000 14:06:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00427412
Message ID:
00427446
Vues:
11
Great merciful crap. LOL Thanks for the help on that one. I had actually found a different way of doing it by following some WSH links from Ed Rauh's signature. It involves referencing the "Wscript.Network" object instead of "Scripting.FileSystemObject", but I'm sure either way would work if I just used longer names (geez, imagine that)
Thanks again.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Paul,

This is really weird, but try a longer variable name. I don't believe this myself, but...
* Same results as you
fs = CREATEOBJECT('Scripting.FileSystemObject')
d = fs.GetDrive("i:") && Network drive
? d.DriveLetter, d.VolumeName && Bombs...but
oDrive = fs.GetDrive("i:") && Network drive
? oDrive.DriveLetter, d.VolumeName && Works fine
Don't ask me why.:-)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Paul A. Busbey
Victoria Insurance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform