Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot used DriveInfo() on UNC drive
Message
From
01/11/2006 01:26:55
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Cannot used DriveInfo() on UNC drive
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01166071
Message ID:
01166071
Views:
114
I am trying to use the DriveInfo() class to get some information from a UNC drive. However, this doesn't seem to be possible. I keep getting:

Object must be a root directory ("C:\") or a drive letter ("C").

How can someone use DriveInfo() on a UNC drive?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform