itchyII
MIS
- Apr 10, 2001
- 167
Hi All,
Maybe someone can help me. I have this snazzy Access application that I have created for work It resides on our departmental server and is a front end/back end app complete with multiple levels of security (including custom written modules from within the application that verify the name and location of the mdw as well as other security measures). The problem is, I am going on an interview with another company and would like to demo them this application. However, I would like to be able to run the 'read only' demo entirely off of a CD. The problem is, I have been unable to create relative paths in the shortcut to the app. I could disable the security entirely but that is a big feature of the app. My shortcut to the file looks like this:
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "\\ServerName\dept_name\Public\DB\DB_2000.mde" /wrkgrp "\\ServerName\dept_name\Public\DB\DBfiles\DB.mdw"
I also have this path embedded in my code:
If SysCmd(acSysCmdGetWorkgroupFile) <> "\\ServerName\dept_name\Public\DB\DBfiles\DB.mdw" Then
MsgBox "You are not an authorized user. Shutdown now in progress"
Any ideas on how I can make all these paths to be relative?
Itchy
Maybe someone can help me. I have this snazzy Access application that I have created for work It resides on our departmental server and is a front end/back end app complete with multiple levels of security (including custom written modules from within the application that verify the name and location of the mdw as well as other security measures). The problem is, I am going on an interview with another company and would like to demo them this application. However, I would like to be able to run the 'read only' demo entirely off of a CD. The problem is, I have been unable to create relative paths in the shortcut to the app. I could disable the security entirely but that is a big feature of the app. My shortcut to the file looks like this:
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "\\ServerName\dept_name\Public\DB\DB_2000.mde" /wrkgrp "\\ServerName\dept_name\Public\DB\DBfiles\DB.mdw"
I also have this path embedded in my code:
If SysCmd(acSysCmdGetWorkgroupFile) <> "\\ServerName\dept_name\Public\DB\DBfiles\DB.mdw" Then
MsgBox "You are not an authorized user. Shutdown now in progress"
Any ideas on how I can make all these paths to be relative?
Itchy