嵌入 MS Word 作为编辑器(就像在 Outlook 中一样)

发布于 2024-07-19 12:03:43 字数 162 浏览 3 评论 0原文

在 Outlook 中,您可以使用 Word 作为电子邮件编辑器(不确定 Office 2007 中的情况如何,但在 2003 中可以)

我可以在自己的应用程序中复制此功能吗? 我看过一篇文章提到使用 Web 浏览器组件、打开 .doc 文件并打开右侧工具栏,但我不确定这是否是正确的方法?

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)

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小…楫夜泊 2024-07-26 12:03:43

您将需要一个 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文