A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Adding new propertypages



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 8th 10, 08:31 AM posted to microsoft.public.outlook.program_addins
JJ[_3_]
external usenet poster
 
Posts: 1
Default Adding new propertypages

Hello NG

Using Visual Studio Team System 2008 Development Edition i am creating a
VSTO Addin for Outlook 2007
The initial code looks like this:

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Xml.Linq;

using Outlook = Microsoft.Office.Interop.Outlook;

using Office = Microsoft.Office.Core;

namespace OLMailJournalize2007

{

public partial class Journalize

{

Outlook.NameSpace nameSpace;

private void ThisAddIn_Startup(object sender, System.EventArgs e)

{


}

private void ThisAddIn_Shutdown(object sender, System.EventArgs e)

{

}

#region VSTO generated code

/// summary

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// /summary

private void InternalStartup()

{

this.Startup += new System.EventHandler(ThisAddIn_Startup);

this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);

}


#endregion

}

}

Where do i add my property page. I have created a similary addin for Outlook
2003 where i could use the this.OptionPageAdd += bla... and then add the
property page in that method. but this way has change for OL 2007.

Can any one please guide me in the right direction.

Kind regards

Johnny E. Jensen



Ads
  #2  
Old March 8th 10, 03:01 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Adding new propertypages

I'm not sure about the latest versions of VSTO, but I've always used an
override for RequestCOMAddInAutomationService when I've done property pages
for Outlook in VSTO

You might want to post your query at the VSTO forum where youi'd get the
most up to date information:
http://social.msdn.microsoft.com/Forums/en-US/vsto/

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"JJ" wrote in message
...
Hello NG

Using Visual Studio Team System 2008 Development Edition i am creating a
VSTO Addin for Outlook 2007
The initial code looks like this:

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Xml.Linq;

using Outlook = Microsoft.Office.Interop.Outlook;

using Office = Microsoft.Office.Core;

namespace OLMailJournalize2007

{

public partial class Journalize

{

Outlook.NameSpace nameSpace;

private void ThisAddIn_Startup(object sender, System.EventArgs e)

{


}

private void ThisAddIn_Shutdown(object sender, System.EventArgs e)

{

}

#region VSTO generated code

/// summary

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// /summary

private void InternalStartup()

{

this.Startup += new System.EventHandler(ThisAddIn_Startup);

this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);

}


#endregion

}

}

Where do i add my property page. I have created a similary addin for
Outlook 2003 where i could use the this.OptionPageAdd += bla... and then
add the property page in that method. but this way has change for OL 2007.

Can any one please guide me in the right direction.

Kind regards

Johnny E. Jensen




  #3  
Old March 12th 10, 10:16 AM posted to microsoft.public.outlook.program_addins
J E Jensen
external usenet poster
 
Posts: 3
Default Adding new propertypages

Hej Ken

Thanks for the link - it help
I forgot the [ComVisible(true)] on the class.

Kind regards
Johnny Jensen

"Ken Slovak - [MVP - Outlook]" wrote in message
...
I'm not sure about the latest versions of VSTO, but I've always used an
override for RequestCOMAddInAutomationService when I've done property
pages for Outlook in VSTO

You might want to post your query at the VSTO forum where youi'd get the
most up to date information:
http://social.msdn.microsoft.com/Forums/en-US/vsto/

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"JJ" wrote in message
...
Hello NG

Using Visual Studio Team System 2008 Development Edition i am creating a
VSTO Addin for Outlook 2007
The initial code looks like this:

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Xml.Linq;

using Outlook = Microsoft.Office.Interop.Outlook;

using Office = Microsoft.Office.Core;

namespace OLMailJournalize2007

{

public partial class Journalize

{

Outlook.NameSpace nameSpace;

private void ThisAddIn_Startup(object sender, System.EventArgs e)

{


}

private void ThisAddIn_Shutdown(object sender, System.EventArgs e)

{

}

#region VSTO generated code

/// summary

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// /summary

private void InternalStartup()

{

this.Startup += new System.EventHandler(ThisAddIn_Startup);

this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);

}


#endregion

}

}

Where do i add my property page. I have created a similary addin for
Outlook 2003 where i could use the this.OptionPageAdd += bla... and then
add the property page in that method. but this way has change for OL
2007.

Can any one please guide me in the right direction.

Kind regards

Johnny E. Jensen






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding to the TO DO BAR trainermark Outlook - Calandaring 1 December 14th 09 09:18 PM
Adding to the TO DO BAR trainermark Outlook - Calandaring 1 December 9th 09 08:50 PM
Adding your contacts into your P.A.B Roderick Outlook - Using Contacts 1 August 11th 07 05:04 AM
adding holidays help byc Outlook - Calandaring 2 August 10th 07 10:04 PM
Adding a Row to Excel SS using OLE Bob Watson Outlook and VBA 3 April 19th 06 06:29 AM


All times are GMT +1. The time now is 01:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.