PC Review


Reply
Thread Tools Rate Thread

How to add custom PropertyPage in C#

 
 
Paul Keeley
Guest
Posts: n/a
 
      5th Jan 2004
I am a newbie at C# and extending Outlook and am stuck in adding a custom
PropertyPage. The page appears correctly and the events are handled but it
fails when it calls OnStatusChange() because the Parent property is set to
null so I cannot set the Outlook.PropertyPageSite. I add the form using
this code:
public void OptionsPagesAdded(Outlook.PropertyPages Pages)

{

Pages.Add("ESPmailstore2.PropertyPage", "ESP+mailstore");

}



and the form class is defined as

public class PropertyPage : System.Windows.Forms.UserControl,
Outlook.PropertyPage





What am I doing wrong? What more do I need to do?

Thanks,

Paul Keeley



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom PropertyPage =?Utf-8?B?Sm9uYXRoYW4gTWlsbGVy?= Microsoft Outlook VBA Programming 0 4th Jun 2007 03:51 PM
Add-in PropertyPage Windows XP Style Gabriel Ciuloaica Microsoft Outlook Program Addins 0 30th Nov 2004 11:05 AM
Add PropertyPage Ervin Microsoft Outlook Form Programming 0 25th Oct 2004 10:28 AM
PropertyPage custom help file Sunny Microsoft Outlook Program Addins 4 8th Oct 2004 04:18 PM
PropertyPage & PropertySheet in C#? marmot101 Microsoft C# .NET 1 7th Aug 2003 07:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:41 PM.