Develop Addins for a Word with a Classical UI and Ribbon UI compatiblity

Apr 14, 2015 at 2:23 PM
Hello everyone
I am a starter as a VSTO learner and NEToffice learner. I used VS 2008 VSTO developed an Addin for Word, which can work perfect with Word 2007 and above versions. And I already tested it for Word 2007, 2010 and 2013. But it can't work in Word 2003. So I search online and find the NETOffice, that's the solution I want.

But when I start with the NETOFFICE, the examples doesn't work on my computer. The Word application doesn't load the ComAddin. It's really confusing. By the way, I use the VS 2010 on the Win7 X64 computer, and I already installed two version of office, the office 2003(X86) and 2010(X64).

In fact, what I need is a very simple Addin for Word. For the 2003, a commandbar with 3 buttons, for 2007 and above version with Ribbon UI, 3 buttons on the TabHome page, and two of buttons are linked to sub function, and the last one should be linked to load a UserForm.

Is anyone can help me to build the framework for the Addin. I can send my VSTO code to him (or she?)
Apr 19, 2015 at 10:06 AM
Hi taotaomy,

since I'm still a learner myself, I'm not able to give you a working solution. But it might be a good start for you to download the "NetOffice Developer Toolbox" (latest version) from the download site. In this little tool (which you have to start as Administrator!) you'll find a "Project Wizard" giving you setup options like "Extend Classic GUI" and "Extend Ribbon UI" as simple checkboxes.

I don't know why, but it looks like this requires to choose the type "Automation AddIn" – all the other options don't allow you to check the "Use NetOffice Tools" checkbox, so that the GUI options don't show up anymore.

Hope it helps you a little bit.

Apr 19, 2015 at 10:38 AM
Thanks for you reply!

I choose the "Automation AddIn" to build a Netoffice project. It's really strange, when I debug this project (without any change), the word doesn't load this Addin.
I check in the COM Addin in word, my Netoffice addin is not there. I run it as administrator, the problem still there. Do you have this problem?

By the way, I use the VS 2010 and Word 2010 (X86) on a Windows 7 X64 based computer to run the addin.
Apr 20, 2015 at 9:08 AM
Finally, I use another computer to create a Netoffice project and it works! This computer is based on win8.1 X86, Word 2013 and VS 2013.

It is still a tough task for me to switch the Office VB code into Netoffice VB code.

Thanks again!