I have a common dialog Active X control on my form. After selecting a file from the dialog box, I insert the .filename returned into a text box on the form. How can I get the dialog box to return the UNC instead of the drive path?
Example -
returns: P:\DirName\FileName.txt
want: \\Server\Share\DirName\FileName.txt
Anyone have a suggestion?
Thanks.
Example -
returns: P:\DirName\FileName.txt
want: \\Server\Share\DirName\FileName.txt
Anyone have a suggestion?
Thanks.