Hi STG:
AccessRunTime does not display an "Office button", nor can I find a way to
get to the security settings for Access 2007 when the database is started on
a computer which has no Office program other than AccessRunTime.
Here's one way that should work, as long as you install the runtime to the
same folder on each machine (ie. a constant database path). On your
development machine, use Regedit to open your registry. Navigate to the key
in question. From Jeff's article, this is:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted
Locations\Location0
Verify that the AllowSubFolders and Path (REG_SZ) keys have the correct
values shown. Then back up just this branch of the registry (Registry >
Export Registry File...). Make sure that the option button is selected for
the branch in question. Save the file. This should produce a new text file,
which you can open with any text editor, that has the .reg file extension.
Take this .reg file to a new computer that does not include a copy of Access
2007. Double-click on the .reg file to add the contents to the registry. Then
try installing your runtime solution. If this much works, then you may be
able to (?) find a way to include this .reg file with an installation package
(I've actually not tried that myself, since I deal with Access 2003
solutions, and I don't have a need to worry about runtime issues). Otherwise,
as Pete D. indicated, you should be able to add the registry key to the
installer (again, not something I've ever tried, since I don't deal with
runtime solutions [thank goodness]).
Good Luck!
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
s goforth said:
Several good replies, but still no gravey!
AccessRunTime does not display an "Office button", nor can I find a way to
get to the security settings for Access 2007 when the database is started on
a computer which has no Office program other than AccessRunTime.
I used regedit to check the setting for trusted locations on the computer
using AccessRunTime and the db appears to be in a location listed in the
register as trusted.