VSTO: Populate a Word 2007 Ribbon dynamicMenu control at runtime using C#
Filed in Office 2007 Interop, VSTO, Word 2007, September 29, 2007, 9:38 pmIn this opportunity I will show you how to use the VSTO Ribbon dynamicMenu control to programmatically add controls at runtime using C#.
The dynamicMenu is a Ribbon control that has a similar behavior to the menu control, with the difference that the former allows to add controls like buttons, menus, toggleButtons at runtime. For this, [...]
Greetings Hernan Rey-Willis, Southworks’ new CEO!!
Filed in Uncategorized, September 25, 2007, 1:26 amSouthworks’ family is getting bigger and bigger as days pass, and makes me wonder if there is a limit. In this opportunity I would like to introduce our new CEO, Hernan Rey-Willis, who decided to join us in the path to greatness. I’m sure he will bring Southworks tons of energy and positive vibrations! =)
Cheers [...]
Office Interop: Attach a custom template and update styles in Word 2007 using C#
Filed in Office 2007 Interop, VSTO, Word 2007, September 22, 2007, 7:44 pmHi, in this opportunity you will see how to attach a given template into a Word 2007 document programatically (C#), and subsequently update the styles that were modified.
Sample Solution
If you like to see the code working, I’m attaching in this post a really simple sample solution that you can download and use it at [...]
Office Interop: Convert Word 2007 text into a Plain Text Content Control using C#
Filed in Office 2007 Interop, VSTO, Word 2007, September 15, 2007, 8:47 pmIntroduction
In order to make the sample more exciting, you will convert a text selection into a plain text content control. For this, you will use several Interop interfaces such as Selection and Range, but don’t panic because their use is really simple and intuitive. For more information, see Selection Interface and Range Interface.
Additionally, I’m attaching [...]