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

Doubt whether I can develop Outlook plugin for Outlook 2003 and using VSTO 2005 SE



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 8th 07, 03:53 PM posted to microsoft.public.outlook.program_addins
PShah
external usenet poster
 
Posts: 10
Default Doubt whether I can develop Outlook plugin for Outlook 2003 and using VSTO 2005 SE

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  
Old February 8th 07, 04:12 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Doubt whether I can develop Outlook plugin for Outlook 2003 and using VSTO 2005 SE

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  
Old February 8th 07, 04:54 PM posted to microsoft.public.outlook.program_addins
PShah
external usenet poster
 
Posts: 10
Default Doubt whether I can develop Outlook plugin for Outlook 2003 and using VSTO 2005 SE

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  
Old February 8th 07, 06:50 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Doubt whether I can develop Outlook plugin for Outlook 2003 and using VSTO 2005 SE

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  
Old February 8th 07, 09:33 PM posted to microsoft.public.outlook.program_addins
PShah
external usenet poster
 
Posts: 10
Default Doubt whether I can develop Outlook plugin for Outlook 2003 and using VSTO 2005 SE

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  
Old February 8th 07, 09:54 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Doubt whether I can develop Outlook plugin for Outlook 2003 and using VSTO 2005 SE

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
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
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


All times are GMT +1. The time now is 07:48 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.