Is there a simple way to get the UNC path of the current project? When I do Application.CurrentProject.Path, I get the path using the mapped drive letter and I want the UNC path.
The reason I need the UNC path is that various users will have different drive letters mapped for the share the application will be located at and some will not have it mapped at all. I'm trying to detect if users are running the application from the 'master distribution' copy rather than from a local copy on their workstations and display a message if they are. I store the current location of the master distribution copy in a table to compare with the current path, if they match, the user is in the master copy and I can display my message but that only works with the UNC path.
Any suggestions?
Thank you.
The reason I need the UNC path is that various users will have different drive letters mapped for the share the application will be located at and some will not have it mapped at all. I'm trying to detect if users are running the application from the 'master distribution' copy rather than from a local copy on their workstations and display a message if they are. I store the current location of the master distribution copy in a table to compare with the current path, if they match, the user is in the master copy and I can display my message but that only works with the UNC path.
Any suggestions?
Thank you.