Have AP that always display Security Warning Some active content has been disabled. Is there a way to disable that in vba so users don't have to answer it, or do I have to set it in the Trust Settings. And if so what is the real risk?
You can, however have your application create a trusted location by modifiying the registry. The user will have to accept at the first security prompt. Creating a form for settings is the logical way to manage this.
thefarg, don't quite follow. What would I put on the security form? or should I have the users just hit Enable and say YES to "Do you wnat to make this a trusted document". I was trying to avoid that.
Its not just creating a trusted document, but a trusted location, same as if you went into security settings to do it. I was just suggesting a "settings" form where you could create this location and remove if the user/admin/whatever decides. With windows security settings, its best to give an option to put the settings back as you found them. Not difficult, it could be as simple as a tick box. However, if you prefer you could have some startup code that just implements it to start with. User will still have to trust the project for the first time, to get the code to run. Or an installer can do it. Or numerous other ways to implement it. Whats your preference?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.