One of our loyal blog readers asked if "VSTO officially supports targeting the Client Profile? I did a quick check and it seems to be working fine but it is good if we explicitly mention whether it is supported." The answer is yes. Starting in Visual Studio 2008 Service Pack 1 (SP1), you can develop 2007 Microsoft Office solutions with .NET Framework version 3.5 or .NET Framework Client Profile. The .NET Framework Client Profile is a subset of the full .NET Framework 3.5 that has a size of 25-30 MB. For more information about the .NET Framework Client Profile, see .NET Framework Client Profile.
You can read more about how to target the Client Profile in the localized documentation article "How to: Change the Target .NET Framework"
If you build a solution with the Client Profile, then please let us know by commenting on this page. Does the performance suite your needs? How was the experience?
-Christin Boyd, Program Manager
You can search the text in any open Microsoft Office Word document for specific strings if you put the code in an 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.
The code comes from the forum thread that's linked below, under "Related resources." You could just look at it there, but then you'd miss the whole "why did he get knocked in the head last time" thing. Oh, the title is different in the video because no one would search the Web for "to hunt lives the add-in" to answer this question, but I think it's a much more dramatic title for a video about an add-in that searches for stuff, after you've already found the video.
Related resources:
Forum: Look for a string and comment it - how?
How to: Search for Text in Documents
How to: Set Search Options in Word
Find Object (Word 2007 Reference)
Duration: 3 minutes, 39 seconds
When you build an 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 surprised 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 after you build them if you don't want them to run any more. Basically, you run Clean Solution, which is on the Build menu. But watch the video for proof!
Forum: Multiple add-ins running
Office Solution Build Process Overview
Duration: 2 minutes, 50 seconds
You can 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?
Related resources
Forum: Ribbon and Start from Scratch
OfficeRibbon.StartFromScratch Property
Duration: 4 minutes, 11 seconds