Opening Word (.docx) files on a Windows Form C#

前端 未结 2 1230
猫巷女王i
猫巷女王i 2020-12-18 11:29

I\'m trying to make my program have the ability to display a Microsoft Word file on a form but not having any luck in doing so. I want to be able to open the file and displa

2条回答
  •  眼角桃花
    2020-12-18 11:50

    There are some good links that might help you. First, you will find a closely related or similar question here And in that conversation someone posted the following link which is about how to build a user control for displaying Word documents in a webbrowser control.

    I also found another article here about how to integrate Excel in a Windows Form application using WebBrowser. But Excel is used as an example and you may be able to adapt it to Word.

提交回复
热议问题