Adding property page to Outlook Tools/Options

  • Thread starter Thread starter Sunny
  • Start date Start date
S

Sunny

Hi all,
My dev platform: VS .net 2003, win2000pro, office 2000, MOD 2000, C#.
I'm trying to add custom property/option tab in outlook 2000 Options. So far
I succeeded to create the control which implements Outlook.PropertyPage
interface. It displays OK with 2 exceptions:
1. The title which is shown on the tab is Unnamed
2. I could not reference the parent PropertyPageSite property to invoke
OnStatusChange() method, so I can not use Apply button.

I have read some articles in that direction, but all of them are not real
solution, and they are more than year old, so I'm wondering if so far
someone have succeeded in this approach?

Any suggestion/solution will be highly appreciated.

Thanks
Sunny
 
The first problem is solved. I have found an article which gave me the right
direction:
You have to make public property Caption in your control and to set for it
DispID = -518.
The code I use, is:

[DispId(-518)]
public string Caption
{
get
{
return this.Name;
}
}

This solves the problem with the name of the tab. Now I still look for
solution for the second one.
Thanks in advance
Sunny
 
Back
Top