Link to home
Start Free TrialLog in
Avatar of detroitdr
detroitdr

asked on

RunTime Access2003 MDE, remove Security Warning about unsafe expressions.

I am making an installation CD for my software.
I'm using the free Access 2003 runtime with my MDE
I've just installed the runtime and my MDE and the first thing that pops up is

Security Warning, Unsafe Expressions are not blocked.
Do you want to block unsafe expressions?

How can I remove this question so my clients don't see that everytime they load my software?

Can I not do something first and save the file and copy over their runtime, or change a registry setting or something???

Thank-you in advance.
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Because of the mde and runtime, you may have to actually change
ASKER CERTIFIED SOLUTION
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of detroitdr
detroitdr

ASKER

Thx for the quick response.

Ok so I've found that I need to change the following registry.

[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Access\Security]
"Level"=dword:00000001

How can I do that in a batch file?? or some program? automatically.. I already have some batch files coping and creating directories... so how can I change this value automatically?

Dr D ... didn't notice it was you !!

I'm assuming you do not get the message on your development systeM?

Of course I'm SURE if can be done in a batch file, but I'm not a batch file guy.

Hummm ...

mx

ok I've got the answer.. adn yes it's me

make a text file with extension called .reg

Windows Regedit

[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Access\Security]
"Level"=dword:00000001

4 lines.. second line must be blank.. it works.

thx
EXCELLENT ... I can't believe I didn't think of that.  Mind clutter tonight I guess.

Very good Dr D ...

thanks ... and good luck with the runtime ...

mx