[Outlook 2003] Unable to display page.

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

[Outlook 2003] Unable to display page.
 
Wim W.A. ten Brink


Workshop Alex


Posts: 30
Joined: 2005-11-23
I get this error message: Unable to display "Options" page. This page will remain visible, but is not available.

Delphi 5 (not 2005!), most recent Add-in express version, Outlook version 2003, (11.6568.6568) SP2.

I can't find the cause of this error. Any idea where I should start looking?
With kind regards,
\/\//\ Workshop Alex
Posted 25 Jan, 2006 07:39:44 Top
Dmitry Kostochko


Add-in Express team


Posts: 2752
Joined: 2004-04-05
Hi Wim,

I can't tell you for sure at the moment where the cause may be. Did you change your add-in's type library? Can you send me your project for testing?

Posted 25 Jan, 2006 08:02:31 Top
Wim W.A. ten Brink


Workshop Alex


Posts: 30
Joined: 2005-11-23
Considering the size of the whole project and the fact that it needs additional hardware and software to run, I just can't send you the project.

I also have the old sourcecode since I just copied everything to a new folder to work from. This code still works as expected. But concerning the type library, what has changed is the name since I've renamed the project. After renaming the project back to it's old name and copying back the old type library, it just seems to work again.

The Windows COM mechanism... Definitely NOT something I like. Powerful, yes. But also too easy to make hard-to-spot errors.
With kind regards,
\/\//\ Workshop Alex
Posted 25 Jan, 2006 09:10:39 Top
Dmitry Kostochko


Add-in Express team


Posts: 2752
Joined: 2004-04-05
Hi Wim,

If you change the project name, you need to change the first parameter (the ProgID of your options page) in the OptionsPagesAdd method.

procedure TAddInModule.OptionsPagesAdd(...);
begin
Pages.Add(OptionsPageProgID, Title);
end;

Posted 25 Jan, 2006 09:54:29 Top
Wim W.A. ten Brink


Workshop Alex


Posts: 30
Joined: 2005-11-23
Thanks! Now I realise the tiny little issue that I have missed. :evil:
With kind regards,
\/\//\ Workshop Alex
Posted 26 Jan, 2006 11:33:01 Top