嵌入MS Word作为编辑器(如Outlook)中

问题描述:

在Outlook中,您可以使用Word作为编辑的电子邮件(不知道的情况是在Office 2007中的东西,但你可以在2003年)

In Outlook you can use Word as your editor for emails (not sure what the situation is in Office 2007, but you can in 2003)

是否有可能我在我自己的应用程序复制呢?我看过一篇文章使用Web浏览器组件提的是,打开一个.doc文件并打开右侧工具栏,但我不知道这是正确的方式?

Is it possible for me to replicate this in my own app? I've seen an article mentioning using the Web Browser component, opening a .doc file and turning on the right toolbars but I'm not sure if this is the right way?

您将需要一个ActiveX控件在你的应用程序来承载的Word。 本文[MSDN] 可以帮助您开始,尽管它是经典的C ++而不是C#编写。 本页面[MSDN] 对的ActiveX / Windows的一些细节窗体的互操作性。

You will need an ActiveX control to host Word in your application. This article [msdn] can help you start, even though it is written for classic C++ and not C#. This page [msdn] has some details on ActiveX/Windows Forms interoperability.