> Redemption.MAPIFolder doesn't work like that. It's like SafeMailItem.
> You have to get the folder object first and then assign the folder
[quoted text clipped - 59 lines]
> objSession.GetFolder("{00000000515BA5871FC8D5119923000475762650C296000
> 0}")
By using Redemption, Extended MAPI, a trusted COM addin or the
settings in the security form if you are using Exchange. I use
Redemption so my apps are compatible whether or not Exchange is used.
In Outlook 2003 all VBA Outlook object model code and COM addin code
that derives all Outlook objects from the Application object passed in
the On_Connection event is trusted, but CDO code is never trusted.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Is there anyway to suppress the security patch dialogs?
Ian D. - 09 Feb 2004 04:51 GMT
I use CDO but need to get around that security pop-up as well. Can I
take your last sentence to mean you cannot use CDO in a COM addin?
> By using Redemption, Extended MAPI, a trusted COM addin or the
> settings in the security form if you are using Exchange. I use
[quoted text clipped - 13 lines]
>
> > Is there anyway to suppress the security patch dialogs?
Ken Slovak - [MVP - Outlook] - 09 Feb 2004 14:54 GMT
You can use CDO 1.21, I do all the time. It's just not trusted. So any
property or method that is restricted will fire the security prompts.
There's no way to get a CDO Session trusted. When I need to use
restricted properties or methods I use Redemption code, but the other
options you could use are what I mentioned.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> I use CDO but need to get around that security pop-up as well. Can I
> take your last sentence to mean you cannot use CDO in a COM addin?