Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot used DriveInfo() on UNC drive
Message
From
02/11/2006 15:00:53
 
 
To
02/11/2006 14:54:48
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01166071
Message ID:
01166738
Views:
19
>>Basically, all of those services you list are provided by Samba running on Linux on the Buffalo box.
>
>I have been searching the net to try to find a way to get that information from such a remove device. One thing for sure is that Windows Explorer can detect it. So, there must be a way to do it from code.

I know hardly anything about the Windows API. But, my understanding is that Windows Explorer is actually the default shell for Windows, and that DriveInfo()-type functions use lower-level calls into the filesystem. So the difference might be something like

- Explorer uses "Shell API" calls
- DriveInfo() uses "Filesystem API" calls

if that makes any sense.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform