开发者

How can i edit word files inside my windows forms app?

I need to edit word templates inside my windows forms app, how can i do that? is ther开发者_开发百科e any control to do it?

Thanks for your help.


It is possible to host Word itself inside a WinForms application, but I doubt you want to do that.

Depending on your requirements you may want to use a third-party control for editing word files. There are many out there, so check with your favorite component provider.

Alternatively you could just launch Word outside your application and respond to when it's window is closed or when the template file is modified. This will probably be much easier and more stable than running hosting Word in winforms.


I think you can use the web browser control to host office documents. There was talk about a ActiveDocumentHost control but it seems it got canned.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜