PDA

View Full Version : Help with printing out unmapped n/w address using office.fileDialog



HelpwithVB
01-17-2012, 02:29 PM
Hi,

I have created a browse button using office filedialog object using wjhich i can browse to the file that is needed. However the file resides in a network drive which i have mapped on my system. When i try to print the location of the file using the fileDialog object it prints out the mapped address for eg:

//test/testing/ is mapped to Z: then the file path is given as Z:/abc/fgh.txt.

However I am trying to print the whole path as in //test/testing/abc/fgh.txt

Could this be done using the filedialog object. If a solution through filedialog is possible it would be the most valuable for me.

Thank you for your help.

HiTechCoach
01-18-2012, 10:08 PM
Hi,

I have created a browse button using office filedialog object using wjhich i can browse to the file that is needed. However the file resides in a network drive which i have mapped on my system. When i try to print the location of the file using the fileDialog object it prints out the mapped address for eg:

//test/testing/ is mapped to Z: then the file path is given as Z:/abc/fgh.txt.

However I am trying to print the whole path as in //test/testing/abc/fgh.txt

Could this be done using the filedialog object. If a solution through filedialog is possible it would be the most valuable for me.

Thank you for your help.

Try browsing to it not using the mapped drive letter but the UNC path.