Problem with Outlook Property Page

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

Problem with Outlook Property Page
 
Subscribe
os_jwe




Posts: 3
Joined: 2018-01-31
We have a problem with the Outlook Property Page that should be displayed under Options. Everything works with a simple test program. After calling “Register project” in the VS, corresponding registry entries are created.
In our project, no entries are created after “Register project” and the page will not be shown.

What could be the reason for this behavior?

We are using the latest Addin Express version under VS2022.

Thank you for your help

Jörg Werner
Posted 23 Aug, 2024 06:49:21 Top
Andrei Smolin


Add-in Express team


Posts: 19011
Joined: 2006-05-11
Hello Jörg,

What registry keys aren't created: all registry keys required for the add-in (check section Registry keys; see the PDF file in the folder {Add-in Express}\Docs on your development PC) or the keys required for the Options page? In both cases, make sure you start Visual Studio via Run as administrator.

Regards from Poland (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 23 Aug, 2024 13:10:31 Top
os_jwe




Posts: 3
Joined: 2018-01-31
Hello Andrei,
The VS is run as Administrator.

The keys required for the Options page are not generated.
The keys are not generated in the release version either.

Our test program works correctly.

Regards
Jörg Werner
Posted 28 Aug, 2024 09:19:05 Top
Andrei Smolin


Add-in Express team


Posts: 19011
Joined: 2006-05-11
Hello Jörg,

The class deriving from AddinExpress.MSO.ADXOlPropertyPage must have the Guid and ProgId attributes; the values of these attributes must be unique. Also, it may have the ComVisible attribute; if the attribute is present, its value must be True.

Make sure your Property Page class meets these requirements.

Regards from Poland (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 29 Aug, 2024 08:59:54 Top
os_jwe




Posts: 3
Joined: 2018-01-31
Hello Andrei,

the missing ComVisible attribute was the solution to the problem.

Thank you very much!

Regards Jörg Werner
Posted 29 Aug, 2024 09:56:40 Top
Andrei Smolin


Add-in Express team


Posts: 19011
Joined: 2006-05-11
Great news! Thank you!

Regards from Poland (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 29 Aug, 2024 10:33:02 Top