Hi All.

Does anyone know how to get the ShareName of a Local Drive? Or even if the Local Drive is shared?

I know you can get the ShareName using FileSystemObject, but this only works for Network Drives (Local Drives return "").

Any help would be greatly appreciated.

Thanks,

Chris.

Recommended Answers

All 2 Replies

I know how to do it in .NET?

Sadly the App has to be compiled in VB6 but knowing how to do it in .Net would be good for future reference.

If you can post the method I'd really appreciate it.

Thanks,

Chris.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.