![]() |
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
|
|||
|
|||
![]()
Hi
Here is my issue. I have already developed a plugin using VSTO 2005 and Outlook 2003. Now since VSTO 2005 SE has come out can i use that and port over my code from VSTO 2005 to SE. Please keep in mind that as of now all my users are still using Office (Outlook) 2003 and are planning to switch to Office 2007 in the next few months. The reason for porting is to have the ability to start programming for Ribbon when the need arises down the line. Also one other major reason is that SE seems to have better startup firing (where the code for plugin is kept) than the existing VSTO. I tried simulating this above scenario in the following ways: Have Outlook 2003 Have VS 2005, VSTO 2005 SE and developing in C# The startup method is different. Older uses ThisApplication_Startup and the newer one uses ThisAdddin_Startup. Just have a messagebox in the ThisAddin_Startup and when i try to compile - it throws up an error on Microsoft.Office.Core and Outlook (both of these possibly for 2007) Please help !!!!! |
Ads |
#2
|
|||
|
|||
![]()
Other than the change in startup procedure name and how you access the
Application object there should be no problems with the code. The handler for startup now runs at the StartupComplete event rather than OnConnection, but that should not be a problem. Show your startup code, otherwise all we can do is guess. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "PShah" wrote in message ups.com... Hi Here is my issue. I have already developed a plugin using VSTO 2005 and Outlook 2003. Now since VSTO 2005 SE has come out can i use that and port over my code from VSTO 2005 to SE. Please keep in mind that as of now all my users are still using Office (Outlook) 2003 and are planning to switch to Office 2007 in the next few months. The reason for porting is to have the ability to start programming for Ribbon when the need arises down the line. Also one other major reason is that SE seems to have better startup firing (where the code for plugin is kept) than the existing VSTO. I tried simulating this above scenario in the following ways: Have Outlook 2003 Have VS 2005, VSTO 2005 SE and developing in C# The startup method is different. Older uses ThisApplication_Startup and the newer one uses ThisAdddin_Startup. Just have a messagebox in the ThisAddin_Startup and when i try to compile - it throws up an error on Microsoft.Office.Core and Outlook (both of these possibly for 2007) Please help !!!!! |
#3
|
|||
|
|||
![]()
Ken
Thanks for the reply. The startup code is pretty simple and pasted below: --------------------------------------------------------------------------------------------------------------------------- public partial class ThisAddIn { private void ThisAddIn_Startup(object sender, System.EventArgs e) { MessageBox.Show("I am up"); } } --------------------------------------------------------------------------------------------------------------------------- The issue is that I am not able to compile the code because it gives the following 2 errors: Under references - I get the yellow sign and cannot build Microsoft.Office.Core Outlook As mentioend before -- I only have Office (Outlook) 2003 installed and no components for 2007. When i do this same excercise in an environement which has VSTO 2005 (not SE) the references work fine. |
#4
|
|||
|
|||
![]()
You may need to start a new Outlook 2003 project in VSTO 2005 SE and then
copy your code into the relevant places in the new project. The behind the scenes code in a VSTO project is pretty version specific, which is probably the cause of the compilation errors. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "PShah" wrote in message ups.com... Ken Thanks for the reply. The startup code is pretty simple and pasted below: --------------------------------------------------------------------------------------------------------------------------- public partial class ThisAddIn { private void ThisAddIn_Startup(object sender, System.EventArgs e) { MessageBox.Show("I am up"); } } --------------------------------------------------------------------------------------------------------------------------- The issue is that I am not able to compile the code because it gives the following 2 errors: Under references - I get the yellow sign and cannot build Microsoft.Office.Core Outlook As mentioend before -- I only have Office (Outlook) 2003 installed and no components for 2007. When i do this same excercise in an environement which has VSTO 2005 (not SE) the references work fine. |
#5
|
|||
|
|||
![]()
Thanks Ken
That helped. I guess we have to physically sopy the code and use the template for VSTO 2003 Office in the SE edition |
#6
|
|||
|
|||
![]()
I did it once by editing the hidden template code and that's something I
don't want to repeat. As an experiment it took a day to get things running and compiling correctly. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "PShah" wrote in message oups.com... Thanks Ken That helped. I guess we have to physically sopy the code and use the template for VSTO 2003 Office in the SE edition |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VSTO 2005 SE add-in for Outlook 2003 & Outlook 2007? | Michael | Add-ins for Outlook | 3 | January 23rd 07 08:16 PM |
VSTO 2005 SE is final, free (w/VS Pro 2005) and supports OL2003 *s | Tadwick | Outlook and VBA | 5 | November 15th 06 06:54 PM |
Outlook 2007 Add-in using VSTO 2005 SE | Kenn | Outlook - Using Forms | 1 | November 4th 06 03:27 AM |
Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003 | David Webb | Outlook and VBA | 1 | June 20th 06 09:59 PM |
VSTO plugin + Distribution List resolution problem.. | Sanjay | Add-ins for Outlook | 6 | May 12th 06 06:44 PM |