Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   how to enable macro for addin (http://www.outlookbanter.com/add-ins-outlook/99149-how-enable-macro-addin.html)

Ashish January 18th 10 02:04 PM

how to enable macro for addin
 
If secuurity level is set to medium (under Tools-Macro-Security) and trust
all installed addins and template is uncheck. Then how to enable macro for
addin programatically. When i open outlook it asks me do u want to
enable/disable macro. If i disable then my addin will not work. To avoid the
message i need to set macro to enable. Please suggest.



Ken Slovak - [MVP - Outlook] January 18th 10 02:53 PM

how to enable macro for addin
 
Change the security setting. Addin code can't change that or otherwise rogue
code could do it and defeat the security.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" wrote in message
...
If secuurity level is set to medium (under Tools-Macro-Security) and
trust all installed addins and template is uncheck. Then how to enable
macro for addin programatically. When i open outlook it asks me do u want
to enable/disable macro. If i disable then my addin will not work. To
avoid the message i need to set macro to enable. Please suggest.



Ashish January 19th 10 08:46 AM

how to enable macro for addin
 
can i change security setting programatically?
if i change security in outlook and open outlook again then it gives warning
for my add (do u want to enable/disable macro)
how to avoid that message and enable macro
"Ken Slovak - [MVP - Outlook]" wrote in message
...
Change the security setting. Addin code can't change that or otherwise
rogue code could do it and defeat the security.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" wrote in message
...
If secuurity level is set to medium (under Tools-Macro-Security) and
trust all installed addins and template is uncheck. Then how to enable
macro for addin programatically. When i open outlook it asks me do u want
to enable/disable macro. If i disable then my addin will not work. To
avoid the message i need to set macro to enable. Please suggest.





Ken Slovak - [MVP - Outlook] January 19th 10 06:59 PM

how to enable macro for addin
 
I just said you can't change the settings in code in your addin.

You need to change the settings before trying to load your addin, and if
necessary put together instructions on what settings are needed by your
users.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" wrote in message
...
can i change security setting programatically?
if i change security in outlook and open outlook again then it gives
warning for my add (do u want to enable/disable macro)
how to avoid that message and enable macro




All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com