Outlook的保存文件对话框在哪里?
我正在开发一个 Outlook 加载项,它需要 Office 特定的 FileDialog 才能与 Sharepoint 站点进行互操作; 通用文件对话框不具有互操作性。 我知道Word和Excel在Globals.ThisAddIn.Application.Application下都有一个get_fileDialog方法,但Outlook似乎没有。 如何启动 Outlook 文件对话框? 有可能吗?
I'm working on an Outlook add-in that requires the Office specific FileDialog to interoperate with a Sharepoint site; the common file dialog doesn't have the interoperability. I know that both Word and Excel have a get_fileDialog method under Globals.ThisAddIn.Application.Application, but Outlook doesn't seem to. How do I launch an Outlook FileDialog? Is it even possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Microsoft 通用对话框
如果您有 COMDLG32。安装了 OCX(“通用对话框 ActiveX 控件”),然后您就可以使用它 - 此处通过示例进行了解释。 (向下滚动到标题为“图 2:不要尝试在 Word 中选择多个文件!”的屏幕截图)。
Microsoft Common Dialog
If you have COMDLG32.OCX ("Common Dialog ActiveX Control") installed, then you can use this - it's explained here, with an example. (Scroll down just past the screenshot entitled "FIGURE 2: Don't try to select more than one file in Word! ").
Outlook 的应用程序对象似乎不提供
FileDialog
。 但如果您愿意获得 Excel 参考,一个简单的解决方法是:It appears that Outlook's Application object does not offer
FileDialog
. But a simple workaround, if you are willing to have an Excel reference, is: