![]() |
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 |
#7
|
|||
|
|||
![]()
I posted a fixed version of that template on my Web site. It looks like
somehow VS changed the inheritance in both the ToolsOptionsPP and FolderPP designer classes from UserControl to Form inheritance. That wasn't done in the C# projects or the shared addin project for VB.NET. Anyway, the projects on my Web site are now correct. -- 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 "Ken Slovak - [MVP - Outlook]" wrote in message ... Hmm, the copy of the project I have here (and that I wrote) inherits from System.Windows.Forms.UserControl, not from Forms.Form. It looks like VS did something when I exported the project as a project template and changed my original inheritance from UserControl to Form. -- 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 "Dhananjay" wrote in message ... Hi Ken! I downloaded your project from the site you mentioned viz. http://www.slovaktech.com/outlook_2007_templates.htm & the project zip name is VSTO_VBNETAddin.zip. After that when I opened your project, in FolderPP.Designer.Vb file I can see very first 3 lines are - Global.Microsoft.VisualBasic.CompilerServices.Des ignerGenerated() _ Partial Class FolderPP Inherits System.Windows.Forms.Form That means you are inheriting from System.Windows.Forms.Form & not from UserControl. I just changed that line to inherit from UserControl. Any way, Thanks a billion for your valuable reply, which solves my problem of property page. Thanks again, Dhananjay |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run addin as a "Invoker" | Dhananjay | Outlook and VBA | 1 | November 1st 07 05:58 PM |
Upgraded Outlook to 2007, now VSTO doesn't work | HÃ¥kan | Outlook and VBA | 1 | August 28th 07 02:19 PM |
MSVCR80.dll error missing outlook.exe.manifest | TravisG | Outlook - Installation | 2 | June 6th 07 06:18 PM |
Can no longer debug VSTO add-in | jk | Outlook and VBA | 2 | January 12th 07 07:13 AM |
Unsubscribing from events (VSTO, C#) | [email protected] | Add-ins for Outlook | 5 | November 22nd 06 02:49 PM |