my job is to maintain a word-addin, created many years ago, developed by many young programmers like me ;) the addin works fine and there are only a few and easy changes to do from time to time, so my task is to bring the development environment up to date.
The addin was handed over to me as an visual basic project with Visual Studio 2005(in XP-Mode) and a .dot-file
Now I wanted to use Visual Studio 2015, but when I tried to migrate the project there is an error which says the word-version i'm using is not supported by VS2015 and tells me to use Office 2010 minimum. The problem is, my company just uses Office(Word) 2007.
So how can i get VS2015 to migrate the project properly and to use word 2007? Or do I have to use 2010? I read 2010-addins can be used in 2007 and via versa, so this should not be the problem.
Following software is installed:
Microsoft .NET Framework 2.0 SP2
Microsoft .NET Framework 3.0 SP2
Microsoft .NET Framework 3.5 SP1
Microsoft .NET Framework 4/4.5/4.5.1/4.5.2/4.6
Microsoft Office Developer Tools for Visual Studio 2015
Microsoft Visual Studio 2010 Tools for Office Runtime
Visual Studio 2005 Tools for Office Second Edition Runtime
Visual Studio 2015 Community
Microsoft Office Word 2007
thanks for help :) and please excuse my bad english
The short answer is that you cannot use Visual Studio 2015 to open the original project, but you can recreate the code in a new project that will still work with Office 2007:
https://msdn.microsoft.com/en-us/library/bb772080.aspx
Related
I'm evaluating source code that was created in either Studio 2005 or 2008. The solution contains a Visual Basic for Devices project .vbdbproj. I tried to open/convert it in Studio 2010 but could not do so. Since I don't have Studio 2005 or 2008 installed, how can I used either Studio 2010 or 2013 to open this solution?
I'm a frequent Visual C++ user working on some VBA scripts in MS Office 2010 and I would really like to be able to use Visual Studio 2013 (Professional) to edit them - is this possible? When I try to open my Access Database file from Visual Studio it just loads up in Microsoft Visual Basic for Applications 7.0 (ie. that horrible default IDE)...
What I'd really like is for it to open the module in VS when I click on the module in access. Can this be done?
Is it posssible to write outlook 2007 add-in using visual studio 2013 in C#. Thanks for help.
According to Microsoft, the latest version of Visual Studio that can create an addin for Office 2007 is Visual Studio 2010.
If you want to develop an Office 2010 addin etc., you can use Visual Studio 2010 or Visual Studio 2012.
If you want to develop an Office 2013 addin etc., you can only use Visual Studio 2013.
Office Development and Visual Studio
This probably a bit late, but just for future reference: Running Solutions in Different Versions of Microsoft Office
There's no out of the box template for Office 2007 in Visual Studio 2013, but the addin will run fine in Office 2007.
Your project will have the Object Model for Office 2013 so while you can use it in previous versions of Office, you need to be careful not to call methods that aren't available in the earlier versions. For example in Outlook 2013 there is an inline reply so if you try to call that method in Outlook 2007 it will throw an exception.
If you're just looking to use the newer Visual Studio IDE for Office 2007 development then you can remove the 2013 Office references and add the 2007 references and you won't see any new methods as outlined above.
Edit: Not that you'd want to do this, but if you wanted to use the newer object model from 2007 without pulling in the interop library for 2013 you can actually call those newer methods dynamically and specify non existing delegate types by using Delegate.CreateDelegate, if anything it's pretty neat.
I have Visual Basic 6 Pro sp6, and I am wondering does Visual Studio 2010 Pro
have the Visual Basic 2010. It seems that I encounter Visual C only when I
look at this online.
Another question. Will the Visual Basic 6 IDE run in Windows 7-Win XP mode?
Yes, all paid editions of Visual Studio 2010 support all mainstream .NET languages (Namely C# and VB.NET). Note though that VB.NET in Visual Studio 2002 onwards is significantly different from Visual Basic 6.
"To summarize: if you install VSTO 2005 SE on top of a clean VS 2005 Professional, you won't have the document-level templates. If you want to have them you need to have VS 2005 Team Suite/Team Edition or you need to install the previous version of VSTO: VSTO 2005. So VS 2005 Professional + VSTO 2005 + VSTO 2005 SE will give you the document-level templates!"
So my question is, does anyone have a link to a VSTO 2005 download (it is no longer available from Microsoft).
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f2909f92-3517-49bc-9e86-c136299956bc/
As Richard said earlier in this
thread, the "document-level" project
templates (Excel Workbook, Excel
Template, Word Document, and Word
Template) are not included in VSTO
2005 SE or Visual Studio 2005
Professional. To get the
"document-level" project templates in
the 2005 release of Visual Studio, you
must have one of the following
versions of Visual Studio:
Visual Studio 2005 Tools for Office (this is a completely separate
edition of Visual Studio for purchase;
it is not a free download).
One of the "Team System" versions of Visual Studio 2005.
The VSTO development story is somewhat
simpler in Visual Studio 2008. In this
release, all of the VSTO projects
(add-ins and the document-level
projects) are now available in Visual
Studio 2008 Professional, as well as
the "Team System" versions. This
includes add-in and document-level
projects for both Office 2003 and the
2007 Microsoft Office system.
Maybe this one will help Microsoft Visual Studio 2005 Tools for Office 2005 Runtime (VSTO 2005 RTM)
The VSTO 2005 redistributable package installs the Visual Studio Tools for Office runtime, which is required to run solutions built using VSTO 2005. This runtime supports document-level customizations for Microsoft Office Excel 2003 and Microsoft Office Word 2003, and application-level add-ins for Microsoft Office Outlook 2003.