My path to the VSTO: Preface
VSTO is an interface that Microsoft provides to. NET developers through which we can do some processing on Office programs. But this interface is not perfect, and the stability of VSTO is not good compared with many other Microsoft products, and there are few related documents. In this case, many problems need to be overcome by our programmers. I've been in this company since 08. It's almost 2.5 off-the-job VSTO development, not to mention VSTO proficient, but at least there's a deep solution, especially for some trick and bugs in development. Prepare to write something to record the journey of the past two years. At the same time also feel that the domestic VSTO documentation is scarce, I myself in the development process took a lot of detours, I hope I write these documents can be helpful to the later developers.
I like to prepare an outline before I write the document, and then fill it in, so in order I'll start by listing the main things I'm going to write.
- Basic knowledge of VSTO
- Create a project
- Add Ribbon
- Add Task Panel
- Word Basics
- Word Object Model Introduction (Application, Document, Range, Selection, and bookmark)
- Application Object
- Document Object
- Range Object
- Selection Object
- Bookmark Object
- Plugins: Customizing the search panel
- Word in-depth development
- Modify the right-click menu
- Inserting content into a document
- Add hyperlinks, bookmarks
- Displays a hover box based on the selection
- Legacy issues
- Outlook related knowledge
- Basic structure of Outlook
- Get the directory tree for Outlook
- Capturing new mail and message movement
- Modify Outlook Right-click menu
- Create a new message or contact through VSTO
- Use of Outlook Form region, as well as extending the content of Outlook contacts
- Legacy issues
- Excel related Knowledge
- Modify the contents and style of the cell in Excel
- Get all the content in Excel, that is, the cell that has the input
- Modify the Excel right-click menu
- Legacy issues
- Smart Tag
- Development of VSTO Smart tag
- Development of COM Smart tag
- Publish a VSTO Program
- Click once mode
- How to install Packages
- Outside of VSTO
- For import and export of Excel data in C #
* These documents in addition to Smar tag is for Office 2007, the rest of the content is basic for Office 2007~office 2010. In addition, protest Microsoft, actually in office 2010 abolished the smart tag most of the features.
* * In the blog park, do not find the relevant classification of Office, can only be placed in the WinForm area
My path to the VSTO: Preface