Re: PropertyPages for Outlook?
- From: "Bob Chauvin \( Paix dehors \)" <bob_chauvin@xxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 08:38:02 -0400
What type of item are you trying to create a property page for? Email,
Contact, Note...?
--
VS2005B2/VSTO
Thank you,
R.Chauvin
"Scott" <Scott@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4C66B86A-9B7B-4DEF-B9AF-1F2AADEC5E7D@xxxxxxxxxxxxxxxx
>
> I'm looking for a sample of how to make a property page for Outlook.
> I did this in ThisApplication_Startup:
> this.OptionsPagesAdd += new
> Microsoft.Office.Interop.Outlook.ApplicationEvents_11_OptionsPagesAddEventHandler(ThisApplication_OptionsPagesAdd);
>
> and then made this function:
>
> void
> ThisApplication_OptionsPagesAdd(Microsoft.Office.Interop.Outlook.PropertyPages
> Pages) {
> try {
> Pages.Add(new OptionPage(), "Scott");
> } catch (Exception e) {
> MessageBox.Show(e.Message, "Prop Page Add");
> }
> }
>
> it always throws a generic exception about failing.
>
> OptionPage inherits from UserControl and implements Outlook.PropertyPage
.
- References:
- PropertyPages for Outlook?
- From: Scott
- PropertyPages for Outlook?
- Prev by Date: Re: Outlook Addin with Keyboard Shortcuts
- Next by Date: Re: PropertyPages for Outlook?
- Previous by thread: PropertyPages for Outlook?
- Next by thread: Re: PropertyPages for Outlook?
- Index(es):
Relevant Pages
|