In Access 2007, go to:
Office Button | Access Options | Trust Center | Trusted Locations
Add the folder where you keep your databases to the trusted locations.
If the code is for Image controls, you may be interested to know that the
Image Control in A2007 now has a Control Source. You can just set the
Control Source to an expression such as:
= GetPathPart & Me!txtPicture
and it works without code.
More info about the new version:
http://allenbrowne.com/Access2007.html

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
>I barely know enough about Microsoft Access to get by and I created a
>program
[quoted text clipped - 67 lines]
>
> End Sub