Vsto is an interface provided by Microsoft to. NET developers.ProgramDo some processing. However, this interface is not perfect. compared with many other Microsoft products, vsto has poor stability and few related documents. In this case, many problems need to be overcome by our programmers themselves. I have been in this company since. I have been developing vsto on and off for almost two and a half years. I dare not say that I am proficient in vsto, but at least I already have an in-depth solution, especially for some trick and bugs in development. Prepare something to record the history of the past two years. At the same time, I also felt that vsto documentation in China is really lacking. I have made many detours in the development process. I hope these documents can be helpful to developers later.
I like to prepare an outline before writing a document, and then fill it in. So in the preface, I will first list the main content I want to write.
-
- Vsto basic knowledge
- Create a project
- Add RIBBON
- Add task panel
-
- Basic word knowledge
- Introduction to the word Object Model (application, document, range, selection, and bookmark)
- Application Object
- Document Object
- Range object
- Selection object
- Bookmark object
- Plug-in: Custom Search panel
-
- In-depth development of Word
- Modify context menu
- Insert content into the document
- Add hyperlinks and bookmarks
- Displays the Floating Box Based on the selected content.
- Legacy problems
-
- Outlook knowledge
- Basic Structure of Outlook
- Obtain the directory tree of Outlook
- Capture new emails and move emails
- Modify outlook context menu
- Create an email or contact through vsto
- Use outlook form region and extend the content of outlook contacts
- Legacy problems
-
- Excel knowledge
- Modify the cell content and style in Excel
- Obtain all the content in the Excel file, that is, the input cell.
- Modify the Excel Context Menu
- Legacy problems
-
- Smart Tag
- Development of vsto Smart Tag
- Development of COM smart tag
-
- Release vsto Program
- Click once
- Installation Package Method
-
- Outside vsto
- Import and Export Excel Data in C #
* In addition to the Smar tag, these documents are applicable to Office 2007 and Office 2007 ~ Office 2010. In addition, I protested against Microsoft's use of most of the Smart Tag functions in office 2010.
** In the blog garden, no related categories of office are found. You can only put them in the winform area first.