Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get drive space does not work on specific drive
Message
From
03/05/2012 20:28:09
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01543132
Message ID:
01543157
Views:
28
>>I created another share on the same drive, such as Data2. I was able to connect to that share drive from Windows Explorer. So, the share works. However, from the code, it still cannot gain access to it. So, this confirms that the administrative share is not a factor. Either f$ or Data2 results in the same situation.
>
>I think you are going the wrong way, I do not know .NET enough to help you, but if I do this in foxpro it would not work either:

I do not use that specific object you are using. But, by using native .NET object, with ManagementScope, I was able to get a better response.

Thanks for the example however
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform