I have installed Visual Studio 2010, and I want to create Outlook 2003 add-in program which add few buttons on navigating menu. I want to use some of the tempaltes provided by VS2010 ( at least in case of Office 2007 and 2010 provided) but there is no template for 2003 version. Is there a way to add it, or download somehow?
There is no support for Office 2003 addons in Visual Studio 2010. Only you can use Office 2007 or Office 2010 addons.
Related
I have a vsto add-in for outlook developed in Visual Studio 2010 (.NET 4.0), but now when I tried to add this add-in for Outlook 2016 it is showing invalid vsto add-in. My question is:
Can the VSTO solution developed in Visual Studio 2010/12 support in Outlook 2016?
If not then what's the alternate or if yes then what I am doing wrong here?
A VSTO add-in should be installed on the machine. At least you need to add the required windows registry entries to load the add-in, you can't just add it. See Registry Entries for Application-Level Add-Ins and Registry Entries for VSTO Add-ins for more information.
My question is 'Can the vsto solution developed in Visual Studio 2010/12 support in Outlook 2016?'
Yes, it can. See Running Solutions in Different Versions of Microsoft Office. It states the following:
Microsoft Office applications can also run solutions created by using previous versions of Visual Studio. In some cases, these solutions require different versions of the Visual Studio Tools for Office runtime. Different versions of the Visual Studio Tools for Office runtime can be installed side-by-side on the same computer.
I'd suggest creating an installer which can check for preprequsites if any, add the required windows registry keys and install the plug-in on the system.
You may find the following articles helpful:
Deploying an Office Solution by Using Windows Installer
Deploying an Office Solution by Using ClickOnce
I've just downloaded Visual Studio 2013 Community edition and trying to find why I can't find a Template for Outlook under Visual C#.
I find in other articles that you can find Templates > Visual C# > Office Add-ins -> Outlook 2013 Add-in
But I don't even have this option.
Do I need to download some other extension to enable this feature?
Yes, you need to install http://aka.ms/OfficeDevToolsForVS2013 to get the templates visible.
We have built a VTSO office add-in using Visual Studio 2008 (C#,vsto 2.0 runtime) targeting office 2007 as the minimum version. Works fine on 2007 and 2010 version of outlook, word, excel and power point.
It is also working on 2013 version of word, excel and power point but do not load on outlook 2013. We do not get any kind of error message. Any help will be appreciated.
Thanks in advance,
Vikas
Is it not showing any error when you set the environment variable
"VSTO_SUPPRESSDISPLAYALERTS" with value "0"?
Did you also checked if it is in disabled items list in File =>
Options => Add-Ins => Manage choose disabled items?
Outlook 2013 doesn't support add-ins that target 2007. It supports 2010 add-ins only.
I'm still confused by the different versions of VSTO and in which way they are compatible to office 2007/2010. I know there is a nice table for comparisons on wikipedia, but I still don't get it. My focus lies on PowerPoint.
Okay, so I have the Visual Studio 2010 Professional Edition that provides two templates for PowerPoint: a 2007 Add-In template and a 2010 Add-In template. What exactly is the difference here, is it just the version of the underlying VSTO? Apart form that, is there a difference between VSTO 4.0 and VSTO 2010? Wikipedia uses both terms.
I want the Add-In to work with both PowerPoint 2007 and 2010. Should I chose the 2007 Add-in project type or the 2010 add-in project type?
Wikipedia says: "Office 2007 applications can also use the VSTO 2010 runtime"
and it also says
"VSTO solutions developed against newer Office versions will not work in older Office versions as they lack the necessary Primary Interop Assemblies (PIAs)".
Isn't that some kind of contradiction?
below image should be helpful
A VSTO project will work only with the selected version and later i.e. a 2007 add-in will work with Office 2007 and 2010, whereas a 2010 add-in will work with only 2010.
When deciding which version to choose for an add-in, choose the version of the oldest Office version you want to support.
I am using Visual Studio 2010 to create a new add-in for Excel. Ideally I would like it to work with Excel 2011 (Mac), 2010, and 2007.
There are three template options to choose from when I start a new C# project.
(Office) Excel 2010 Add-in
(Extensibility) Visual Studio Add-in
(Extensibility) Shared Add-in
What are the differences between these template choices?
Thanks in advance.
From MS. As the name implies, you probably want to use shared add-in.
Office Excel 2010 Add-in
Creates an application-level add-in for Excel 2007 or Excel 2010. For more information, see Getting Started Programming Application-Level Add-Ins and Excel Solutions.
(Extensibility) Visual Studio Add-in
Visual Studio Add-ins add functionality to the Visual Studio and Visual Studio Macros environments. For more information, see How to: Create an Add-In.
(Extensibility) Shared Add-in
Shared Add-ins can add functionality to one or more Microsoft Office applications, as well as to Visual Studio. For more information, see How to: Create an Add-In.
Reference: http://msdn.microsoft.com/en-us/library/0fyc0azh.aspx
#1 and #3 will work for Windows machines, but straight from Geoff Darst of Microsoft's VSTO team, "the .Net Development Platform and Visual Studio Tools For Office are Windows only." You'll have to code in VBA to get functionality across all three versions.
If you want to target just the Windows environment, make sure you target the 2007 version of Excel, as I don't believe solutions developed for Excel 2010 are backward compatible with Excel 2007.