Microsoft OutLook Plugin Problems

hi,

I am developing a plugin with the help of the document on the following link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/ol03csharp.asp

I follow all the steps mentioned in the document and finally build and install .
everythings goes smooth till this point . But after this when I launch the outlook
my plugin does not appear in the toolbar.

Do I require to do some additional steps in order to register with outlook.I have no idea what I am missing.

can anyone help me out with this problem.

Regards,
jerald

[811 byte] By [Jerald] at [2008-2-15]
# 1
Is your add-in loaded? Check Tool > Options > Other > Advanced Options > COM Add-Ins

Thanks
Roosevelt Sheriff [MSFT]

RooseveltSheriff-MSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Tools for Office,Visual Studio Tools for Office...
# 2

Thanks for your reply as you mentioned I found that there was no addin loaded
But when I try to add the dll from my project folder/ bin/debug it throws a error
".....this is not the office add-in"

I will tell you my exact sceneario,I am using .net wizard for creating the plugin for
outlook .

Method1
When I develop my plugin using the following link
http://support.microsoft.com/kb/302901/en-us#1
Pluging loads in the outlook and works fine. but in this method it creates applicationobject of type object.
(private object applicationObject;)but does not show any entry in ....../COMaddins
I cannot use this method since this method does not allow me access the outlook
folders as applicationObject is of object type so I went for second method
Method2
When I develop my plugin using the following link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/ol03csharp.asp

It compiles and creates a setup and even after installing the setup my plugin does
not load.And when I try to add the plugin in ........./ComAddins option it throws
error mentioned above.

Thanks for your patience.

Regards,
Jerald

Jerald at 2007-9-8 > top of Msdn Tech,Visual Studio Tools for Office,Visual Studio Tools for Office...
# 3
Add-Ins created with the extensibility wizard should work just fine. Try creating a simple Add-In that does simply like just throws a message up in OnStartupComplete. Build the project and the setup and try to install.

Thanks
Roosevelt [MSFT]

RooseveltSheriff-MSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Tools for Office,Visual Studio Tools for Office...
# 4
Thank you for your support I am able to load my plug in the outlook .

Can you please help me with steps for some link about how to debug my plugin which is developed in visual studio.net.

regards,
jerald

Jerald at 2007-9-8 > top of Msdn Tech,Visual Studio Tools for Office,Visual Studio Tools for Office...
# 5

I presume you are now able to load your plugin within Outlook there are several ways for debugging this solution, you can configure your project to start on compile OUTLOOK.EXE this is found by

right clicking on the Project Name and selecting Properties
then click Under configuration Properties and select Debugging
Then Under Start Action there is a Debug Mode this needs to be Program and then the start application needs to be the full path name to OUTLOOK.EXE ie c:\program files\microsoft office\office11\outlook.exe

When you now press run this will compile and startup Outlook, alternatively you can start Outlook and load up Visual Studio and then select Debug Attach Process... then select Outlook from the list and attach and you will then be able to debug.

Hope this Helps

Mike Walker MVP Visual Developer VSTO

MikeWalker at 2007-9-8 > top of Msdn Tech,Visual Studio Tools for Office,Visual Studio Tools for Office...
# 6
Your instruction

right clicking on the Project Name and selecting Properties
then click Under configuration Properties and select Debugging
Then Under Start Action there is a Debug Mode this needs to be Program and then the start application needs to be the full path name to OUTLOOK.EXE ie c:\program files\microsoft office\office11\outlook.exe
I have completed the above steps but geeting the working directory problem.
what path should I set in the working directory option ?

Regards,
Jerald

Jerald at 2007-9-8 > top of Msdn Tech,Visual Studio Tools for Office,Visual Studio Tools for Office...
# 7
The working directory is best to be configured to the location of the assembly
files, normally APPLICATION DIR\DEBUG\BIN this is the best to use.
MikeWalker at 2007-9-8 > top of Msdn Tech,Visual Studio Tools for Office,Visual Studio Tools for Office...