![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |