>>>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
Well, the object of the code was not to show you how to do it in Fox, but to show you that you need to connect to the other computer before trying to get the information, and that you needed to use local names once connected, which is exactly what you are doing now in your code, but that I could not provided you with a .NET example for I do not know it.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges