B
Ben M
I have a problem with an Outlook Addin I am building with a custom
PropertyPage, using C# and a version of the Outlook Library generated from
the Outlook 9 TLB.
The addin compiles and runs just fine on my development PC, but as soon as I
attempt to install it on any other PC (having a few different versions both
of Windows and Outlook), the Addin no longer loads. It installs fine, but it
doesn't join the list of COMAddins in Outlook. This behaviour only occurs
when I include a class in my code which:
1) Inherits from an Outlook object (e.g. PropertyPage, MAPIFolder)
2) Accepts an Outlook object as a parameter to its constructor
I can work around 2), but if I can't do 1), then I can't create a custom
property page, and that will be most disappointing!
The behaviour certainly doesn't happen in all cases when I use Outlook
objects, either - just in cases 1) and 2).
If anybody can suggest what I could do to avert this problem, I'd be really
grateful.
Cheers,
Ben
PropertyPage, using C# and a version of the Outlook Library generated from
the Outlook 9 TLB.
The addin compiles and runs just fine on my development PC, but as soon as I
attempt to install it on any other PC (having a few different versions both
of Windows and Outlook), the Addin no longer loads. It installs fine, but it
doesn't join the list of COMAddins in Outlook. This behaviour only occurs
when I include a class in my code which:
1) Inherits from an Outlook object (e.g. PropertyPage, MAPIFolder)
2) Accepts an Outlook object as a parameter to its constructor
I can work around 2), but if I can't do 1), then I can't create a custom
property page, and that will be most disappointing!
The behaviour certainly doesn't happen in all cases when I use Outlook
objects, either - just in cases 1) and 2).
If anybody can suggest what I could do to avert this problem, I'd be really
grateful.
Cheers,
Ben