Home All Groups Group Topic Archive Search About
Author
30 Mar 2006 2:32 AM
gator
Can anyone help with this?

I need to be able to get the UNC from a path such as:

"q:\anyfolder\anotherfolder\" ... returns the full UNC path on a LAN

There are several examples in this group but none of them work
correctly.  Does anyone have a function in VB.net that actually returns
the UNC?

Thanks,
gator

Author
30 Mar 2006 12:31 PM
Herfried K. Wagner [MVP]
"gator" <glb***@gmail.com> schrieb:
> I need to be able to get the UNC from a path such as:
>[...]
> There are several examples in this group but none of them work
> correctly.  Does anyone have a function in VB.net that actually returns
> the UNC?

Check out this sample:

<URL:http://groups.google.de/group/microsoft.public.dotnet.framework.interop/msg/6ae7a0083cf7915c>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>