How to enable "Trust access to the VBA project object model" duringVSTO add-in setup?
I don't speak VSTO, but I hope what you're asking for is not possible.
This is a security setting (my security setting!). Your program shouldn't be
able to change this. If your program can do it, then anyone (including malware)
could do it.
If you find a way to do this, I hope that you change the setting back to what it
was when you're done.
Thomas wrote:
Hello developers,
How to enable Excel 2007 "Trust access to the VBA project object model"
option during VSTO add-in setup?
My add-in requires that this security option is enabled. I tell users to
manually turn this on before they run setup but some of them forget.
I hope this can be automated somehow. I searched Google but found nothing
about corresponding registry entry.
Thanks for any pointers
Thomas
--
Dave Peterson
|