I have no idea what the problem is.
If on the second or third load in a short period of time on the same Windows
session things are consistently taking 2 - 3 minutes to load then something
is very wrong. At that point the Framework would be running and the addin
should be in the JIT cache. Under those circumstances I'd expect a managed
code addin to run in under 30 seconds certainly, even on a slow machine.
If all you are doing in startup is to put up a message box then I'd suggest
looking at the Fusion logs and seeing if you see anything there that might
be taking a long time. For example, if you are connecting to a Web service
it might be taking a long time to initialize and connect. That's just one
example, other than that I'd be running the VS profiler to see what was
taking so long.
--
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
<snip>
Sorry for that. I didn't get an exact word to use there.
Actually, I wanted to ask you that do I need to use other security
granting method (like adding to inclusion lists etc.) as the add-in is
taking much time to load.
The add-in has no code, except a message box in the ThisAddIn_Startup
method. Thats why I asked you the above question.
I have opened the outlook twice and thrice. Its taking same amount of
time in the third time also.
What might be the problem? Please suggest a solution for this.
Thanks