Harry Miller

HarryMiller

Total Posts: 6
Channel 9 Blog for HarryMiller
page 1 of 1
Posted By: HarryMiller | Sep 10th, 2008 @ 2:57 PM | Comments: 0
Word Add-ins Part 3: Searching for Text Strings and Adding Comments
You can search the text in any open Microsoft Office Word document for specific strings if you put the code in a VSTO application-level add-in. When you find an instance of the string, you can perform some action on it. This video shows how to flag the string with a comment that contains text passed in from a calling method.[more ]
Posted By: HarryMiller | Sep 5th, 2008 @ 12:49 PM | Comments: 2
Word Add-ins Part 2: When Add-ins Collide
When you build a VSTO add-in project, it installs the add-in on your development computer. Even if you close that project and start another, or even close Visual Studio entirely, all add-ins you have built will still run when you start the Office application on that computer. If you're not expecting the add-in to run, you might be surprized by what you see the next time you open the application or test a new project. This video shows how to easily uninstall add-ins from your development computer…[more ]
Posted By: HarryMiller | Sep 2nd, 2008 @ 6:40 PM | Comments: 0
Word Add-ins Part 1: Clear the Ribbon Except for My Controls
You can use VSTO to easily customize the Ribbon to show only the controls you want to display. This video shows how to clear the Ribbon in Microsoft Office Word so it contains only a single button. The button inserts a graphic into the open Word document at the cursor location. Why? Well, really it's just to demo the Ribbon thing. But some day you might want to insert images into a document too, who knows?[more ]
Posted By: HarryMiller | Aug 27th, 2008 @ 12:34 PM | Comments: 0
Activating a Custom Tab on the Ribbon When a Document Is Opened
A lot of people seem to want to make a certain tab or control on the Ribbon active programmatically using VSTO. It makes sense that a developer would want to select the custom tab if the controls that are most useful for the current document are all on that tab. This video goes in-depth about this programming question.[more ]
Posted By: HarryMiller | Aug 25th, 2008 @ 8:28 AM | Comments: 0
Turn Off Automatic Conversion of Office 2003 Projects into 2007 Projects
In Visual Studio 2008, when you open a Microsoft Office 2003 project, by default it starts the project migration wizard if you have the 2007 Microsoft Office system installed on your development computer. In other words, Visual Studio automatically tries to upgrade older VSTO projects to the version of Office that you have installed.[more ]
Posted By: HarryMiller | Aug 22nd, 2008 @ 5:25 PM | Comments: 1
Create an Excel Shortcut Menu That Writes Selections to a Text File
It doesn't take much code to add a command to a shortcut menu in Excel, but the menu objects have strange names so it's not intuitive, to me at least. The trickiest part is just sorting out how it's supposed to work, because it seems like it should be different from adding buttons to toolbars, but it really looks like that's what you're doing.[more ]
Tags: Excel, MS Office, VSTO

Posted By:  |  | Comments:

Posted By:  |  | Comments:

Posted By:  |  | Comments:

Posted By:  |  | Comments:
page 1 of 1
Microsoft Communities