C# form 程序 像weboffice一样在线编辑word和excel

bsetsail 2014-11-20 03:37:23
rt
找到一个控件richTextBox,但是这个不能操作图片,而且我需要操作的有word和excel
所以richTextBox实现不了

web方式的话有第三方插件,weboffice的编辑器
就是不知道form程序里边如何实现在线查看,编辑,保存word的功能
...全文
640 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
super_kimi 2015-03-18
  • 打赏
  • 举报
回复
哥们怎么解决的,给我说一下白??
bsetsail 2014-11-22
  • 打赏
  • 举报
回复
解决了,谢谢!
bdmh 2014-11-20
  • 打赏
  • 举报
回复
dsoframer.ocx
bsetsail 2014-11-20
  • 打赏
  • 举报
回复
知道的谁能帮帮忙,解答一下吗?
Copyright Praise for Visual Studio Tools for Office Microsoft .NET Development Series Titles in the Series About the Authors Foreword Preface Acknowledgments Part One. An Introduction to VSTO Chapter 1. An Introduction to Office Programming Why Office Programming? Office Object Models Properties, Methods, and Events The Office Primary Interop Assemblies (PIAs) Conclusion Chapter 2. Introduction to Office Solutions The Three Basic Patterns of Office Solutions Office Automation Executables Office Add-Ins Code Behind a Document Conclusion Part Two. Office Programming in .NET Chapter 3. Programming Excel Ways to Customize Excel Programming User-Defined Functions Introduction to the Excel Object Model Conclusion Chapter 4. Working with Excel Events Events in the Excel Object Model Events in Visual Studio 2005 Tools for Office Conclusion Chapter 5. Working with Excel Objects Working with the Application Object Working with the Workbooks Collection Working with the Workbook Object Working with the Worksheets, Charts, and Sheets Collections Working with Document Properties Working with the Windows Collections Working with the Window Object Working with the Names Collection and Name Object Working with the Worksheet Object Working with the Range Object Special Excel Issues Conclusion Chapter 6. Programming Word Ways to Customize Word Programming Research Services Introduction to the Word Object Model

Copyright
Praise for Visual Studio Tools for Office
Microsoft .NET Development Series
Titles in the Series
About the Authors
Foreword
Preface
Acknowledgments
Part One. An Introduction to VSTO
Chapter 1. An Introduction to Office Programming
Why Office Programming?
Office Object Models
Properties, Methods, and Events
The Office Primary Interop Assemblies (PIAs)
Conclusion
Chapter 2. Introduction to Office Solutions
The Three Basic Patterns of Office Solutions
Office Automation Executables
Office Add-Ins
Code Behind a Document
Conclusion
Part Two. Office Programming in .NET
Chapter 3. Programming Excel
Ways to Customize Excel
Programming User-Defined Functions
Introduction to the Excel Object Model
Conclusion
Chapter 4. Working with Excel Events
Events in the Excel Object Model
Events in Visual Studio 2005 Tools for Office
Conclusion
Chapter 5. Working with Excel Objects
Working with the Application Object
Working with the Workbooks Collection
Working with the Workbook Object
Working with the Worksheets, Charts, and Sheets Collections
Working with Document Properties
Working with the Windows Collections
Working with the Window Object
Working with the Names Collection and Name Object
Working with the Worksheet Object
Working with the Range Object
Special Excel Issues
Conclusion
Chapter 6. Programming Word
Ways to Customize Word
Programming Research Services
Introduction to the Word Object Model
Conclusion
Chapter 7. Working with Word Events
Events in the Word Object Model
Events in Visual Studio Tools for Office
Conclusion
Chapter 8. Working with Word Objects
Working with the Application Object
Working with the Dialog Object
Working with Windows
Working with Templates
Working with Documents
Working with a Document
Working with the Range Object
Working with Bookmarks
Working with Tables
Conclusion
Chapter 9. Programming Outlook
Ways to Customize Outlook
Introduction to the Outlook Object Model
Introduction to the Collaboration Data Objects
Conclusion
Chapter 10. Working with Outlook Events
Events in the Outlook Object Model
Application-Level Events
Outlook Item Events
Other Events
Conclusion
Chapter 11. Working with Outlook Objects
Working with the Application Object
Working with the Explorers and Inspectors Collections
Working with the Explorer Object
Working with the Inspector Object
Working with the NameSpace Object
Working with the MAPIFolder Object
Working with the Items Collection
Properties and Methods Common to Outlook Items
Outlook Issues
Conclusion
Chapter 12. Introduction to InfoPath
What Is InfoPath?
Getting Started
Form Security
Programming InfoPath
Data Source Events
Form Events, Properties, and Methods
Conclusion
Part Three. Office Programming in VSTO
Chapter 13. The VSTO Programming Model
The VSTO Programming Model
VSTO Extensions to Word and Excel Objects
Dynamic Controls
Advanced Topic: Dynamic Host Items
Advanced Topic: Inspecting the Generated Code
VSTO Extensions to the Word and Excel Object Models
Conclusion
Chapter 14. Using Windows Forms in VSTO
Introduction
Adding Windows Forms Controls to Your Document
Writing Code Behind a Control
The Windows Forms Control Hosting Architecture
Properties Merged from OLEObject or OLEControl
Adding Controls at Runtime
Conclusion
Chapter 15. Working with Actions Pane
Introduction to the Actions Pane
Working with the ActionsPane Control
Conclusion
Chapter 16. Working with Smart Tags in VSTO
Introduction to Smart Tags
Creating Document-Level Smart Tags with VSTO
Creating Application-Level Smart Tags
Conclusion
Chapter 17. VSTO Data Programming
Creating a Data-Bound Customized Spreadsheet with VSTO
Creating a Data-Bound Customized Word Document with VSTO
Datasets, Adapters, and Sources
Another Technique for Creating Data-Bound Spreadsheets
Caching Data in the Data Island
Advanced ADO.NET Data Binding: Looking Behind the Scenes
Binding-Related Extensions to Host Items and Host Controls
Conclusion
Chapter 18. Server Data Scenarios
Populating a Document with Data on the Server
Using ServerDocument and ASP.NET
A Handy Client-Side ServerDocument Utility
The ServerDocument Object Model
Conclusion
Chapter 19. .NET Code Security
Code Access Security Versus Role-Based Security
Code Access Security in .NET
Location, Location, Location
Strong Names
Publisher Certificates
Trusting the Document
Deploying Policy to User Machines
Conclusion
Chapter 20. Deployment
VSTO Prerequisites
Deploying to an Intranet Shared Directory or Web Site
Local Machine Deployment Without a Deployment Manifest
Editing Manifests
Creating Setup Packages
Advanced Topic: Deploying Network Solutions to Be Cached Locally
Conclusion
Part Four. Advanced Office Programming
Chapter 21. Working with XML in Excel
Introduction to Excel's XML Features
Introduction to XML Schema Creation in Visual Studio
An End-to-End Scenario
Advanced XML Features in Excel
Excel-Friendly XML Schemas
VSTO Support for Excel Schema Mapping
Conclusion
Chapter 22. Working with XML in Word
Introduction to Word's XML Features
An End-to-End Scenario: Creating a Schema and Mapping It into a Word Document
Exporting the Mapped XML in the Document to an XML Data File
Importing an XML Data File into the Mapped Document
The XML Options Dialog
VSTO Support for Word Schema Mapping
VSTO Support for the WordML File Format
Conclusion
Chapter 23. Developing COM Add-Ins for Word and Excel
Introduction to Add-Ins
Scenarios for Using Add-Ins
How a COM Add-In Is Registered
Implementing IDTExtensibility2
Writing a COM Add-In Using Visual Studio
The Pitfalls of MsCoree.dll
COM Interop and Regasm.exe
Shimming: A Solution to the Problems with MsCoree.dll
Conclusion
Chapter 24. Creating Outlook Add-Ins with VSTO
Moving Away from COM Add-Ins
Creating an Outlook Add-In in VSTO
Conclusion

111,097

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧