Hello, using the CommonDialog control, I allow a user to select a file. Then I place that path and filename into a field of a table. Once the path is stored in the table, other users should be able to click a button on the form and open the designated file. The problem is that the path may be a mapped drive path and other users would not be able to access the file that way. Is there a way to retrieve the UNC path from the mapped drive path?
Thanks!
0
Comments
I (Navision Database)
M (Crystal Reports)
P (All Pictures)
S (All Documents)
Z (BackUp Files)
etc...
This way any path from one machine is the same for all.
IMHO
What are you looking for something like %ROOT%
http://www.BiloBeauty.com
http://www.autismspeaks.org
Then you don't have to worry where it is stored because it'll will be always at the server.
Also SQL 2K8 has this feature, and it can store files in separate folder on sql so they are not really stored in the db.
I hope Navision implements this feature down the line.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
....
use your code with openDialog
....
now we will get the Shared Name
now you can open the file using SharedName. (User must have permissions to connect to the Computer / Folder)
Regards
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!