开发者

How to override MS Access Disabled Mode programmatically

I have an application I'm supporting that manages instances of MS Access 2010. I've noticed that when it opens Access databases that have been downloaded, they open in Disabled Mode. This prevents the user from doing things like executing update queries, displaying the message:

The action or event has been blocked by Disabled Mode.

I found this solution for turning it off through the UI, but I need to be able to accomplish this programmatically. Is there any way to turn off Disabled Mode using .NET instead of relying on user interaction?

Also worth noting, the domain where the files are coming from is included in ZoneMa开发者_如何学Pythonp/Domains registry entries, so the source should be considered a trusted location.


I do not have the reference handy, but if memory serves that is supposed to be a security feature. There is, by design, no way to programmatically turn off that mode.

What you can do is have it open a window by default that tells the user how to turn the mode off.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜