Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapping network drives
Message
From
10/10/2000 14:06:44
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00427412
Message ID:
00427446
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform