Subject: Outlook AddIn
Posted By: mjcook Post Date: 5/15/2006 10:26:39 AM
I am using VSTO and following Alvin Bruney's book.  I got an addin to work and now, for no reason I can determine, Outlook disables the addin.  When I go into Outlook and check it as active, Outlook will uncheck it when I save the change.

I tried to create a different program and get the same result.

Help

Reply By: m.sepe@etasystemickb.it Reply Date: 5/16/2006 1:41:47 AM
I hade the same trouble, the trouble is that you have to trust the assembly or the folder in wich it is inserted using VSTO. You can use the caspol commad manually. An example of caspol use is this string from the framwork 2.0 directory:
caspol -pp off -m -ag All_Code -url "<Directory assembly>\*" FullTrust -n "Name example". If you want lo deploy your application using a setup.exe that automatically install the add-in, all its prerequisities and trust the assembly I suggest you the following guide "Deploying Visual Studio 2005 Tools for Office Solution Using Installer (Part1 and part 2)". I used it and it is perfectly working!!!

I hope to have helped you.

Reply By: mjcook Reply Date: 5/16/2006 7:26:29 AM
Thanks for the help.  I'll try it.

Marv


Go to topic 44323

Return to index page 286
Return to index page 285
Return to index page 284
Return to index page 283
Return to index page 282
Return to index page 281
Return to index page 280
Return to index page 279
Return to index page 278
Return to index page 277