-
UNC - Retrieving
Hi All,
Has anyone had got a code sample I can use to retrieve the UNC of a specified file or folder.
Basicly I want the user to be able to browse to a file using the common dialog, and then from there I need to get the files UNC so that it can be accessed from other pc's without them all having to have the same mapped drives etc...
-
-
Vb handles UNC paths
INstead of using the common dialogue control that ships with VB instead use API to get the windows browse for folders box. This allows you to browse the network and will return a valid unc path of the selected folder
I am not at work at the mo so i dont have access to the exact web addy
but there is an example on
http://www.mvps.org/vbnet/code/browse/browsenetwork.htm