Hi,
I'm using the OpenFileDialog to let the user pick a file, then I need to get
the file name and file path of the picked file and store it in a database.
My problem comes in when the user picks files from a network folder. Instead
of getting the real file path, i.e. \\servername\sharedfolder, what I get is
the drive letter of the mapped drive. So, instead of having the true path
like '\\servername\sharedfolder\filename.txt', now I get something like
'M:\filename.txt'.
Is there any way I can get the real file path? If possible, please give me
some sample code.
Thanks in advance for your help.