Add-in Express Problem

Add-in Express™ Support Service
That's what is more important than anything else

Add-in Express Problem
Failure to appear in Outlook 2003 
Jim Kimbrough




Posts: 17
Joined: 2006-02-13
I followed your example to the letter, to build my first OUTLOOK Add-in.
There was no documentation describing the C++ COM add-in shim project shown in the wizard, but it was checked, so I took both it and the new key pair options.

Everything worked as described in the IDE. I added each CommandBar type, and a couple of sample controls.
All builds succeeded, and the registration succeeded.

Nothing appears in Outlook.

I tried adjusting a few properties, specifically as regards Position, then rebuilt, unregistered, reregistered, still nothing appears in Outlook.

My configuration:

All products and tools are believed to be up to date.

Add-in Express Version: 2.2.1752.1437 - downloaded on Friday.
Windows XP Pro - Version 5.1.2600 SP2 Build 2600
Outlook 2003 - Version 11.8002.6568 (SP2) - (part of Office Pro 2003)
Visual Studio .NET 2003 - Version 7.1.3088
.NET Framework 1.1 - Version 1.1.4322 SP1
.NET Framework Hotfix (KB886903)
Language: C#

Visual Studio 2005 has never been installed on this machine.
Posted 13 Feb, 2006 09:01:18 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jim.

Did you set the SupportedApps property to Outlook?

As for the C++ shim, you can learn more in the following article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dno2k3ta/html/ODC_Office_COM_Shim_Wizards.asp
Posted 13 Feb, 2006 10:31:19 Top
Jim Kimbrough




Posts: 17
Joined: 2006-02-13
Sergey,

Yes, SupportedApps is set only to Outlook.

There are no system errors reported that suggest a failed attempt for Outlook to load an add-in. Should there be? Is there an Outlook setting that would prevent it from loading an add-in?

Is there a registry key (or keys) I can check to make sure the registration is as expected?

Process Explorer shows no indication at all that Outlook has tried to reference this add-in. A previously developed add-in IS present in Outlook and working.

Jim
Posted 13 Feb, 2006 12:27:03 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jim.

Do you use the 'Register ADX Project' option to register the add-in?
Could you please check the 'Disabled Items' dialog in Outlook? Probably your add-in is there. You can find this dialog here: Help->About dialog->Disabled Items.
Posted 14 Feb, 2006 07:04:08 Top
Jim Kimbrough




Posts: 17
Joined: 2006-02-13
Sergey,

Yes, I used register ADX Project. The shim registers, but no add-in results.

The new add-in is not in the disabled items list.

I have also tried a complete build and used the resulting Setup to perform an installation of the Add-in on the development machine. The shim and the add-in then appear in the registry as one might expect, but still Outlook does not load the add-in, and the add-in does not display.

I tried using Outlook Tools/Options/Other/Advanced Options/COM Add-ins to add the new add-in dll, but it said it was not a valid Outlook add-in.

After building and installing, I checked the registry for an entry in ....\Outlook\Addins. The old add-in is present. The new add-in is missing.

I need any ideas you might have at this point.

Thank you.

Jim
Posted 14 Feb, 2006 07:29:49 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Jim, could you please create and register a new add-in without shim?
Does it work?
Posted 14 Feb, 2006 07:38:22 Top
Jim Kimbrough




Posts: 17
Joined: 2006-02-13
Give me a few minutes. I'll give it a try.
Posted 14 Feb, 2006 07:39:26 Top
Jim Kimbrough




Posts: 17
Joined: 2006-02-13
No luck.

I started over and built a new sample add-in from your sample, in C#. Without the shim. It has the single button message box. The build succeeds, I registered and then ran Outlook. Nothing appears, and it is not in the disabled items.

I have the LoadBehavior set to LoadAtStartup only, because I am not connected to Exchange.

Very strange. The end result is simply nothing.

I installed the Office 2003 PIA, thinking there might be some need in Office. No change.

Any more ideas?

Thanks,

Jim
Posted 14 Feb, 2006 08:20:45 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
The LoadBehavior property should be set to 'Connected;LoadAtStartup'.
Otherwise the add-in will not start automatically.
Are you sure that you haven't .NET Framework 2.0 installed on your PC?
Posted 14 Feb, 2006 08:36:58 Top
Jim Kimbrough




Posts: 17
Joined: 2006-02-13

Will change this to 'Connected;LoadAtStartup'. To get the add-in to "LoadAtStartup".

Quite sure. It needs a thorough shakeout first.

I will experiment further and contact you later.


Posted 14 Feb, 2006 08:45:24 Top