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" <pratikrshah[ at ]gmail.com> wrote in message news:1170949990.333000.299720[ at ]h3g2000cwc.googlegroups.com...
[Quoted Text] > 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 !!!!! >
|