使用 Visual C# 2008 Express 开发 Outlook 插件?
我正在尝试开发 Outlook 插件。 我正在使用 Visual Studio 的 Express 版本,并且 Express 版本中似乎缺少 Outlook 集成功能(故意)。
确实是这样吗?
是否有第 3 方库允许使用 Express 版本连接到 Outlook 模型?
谢谢
I'm looking to experiment with developing an Outlook plugin. I'm using the express edition of Visual Studio, and it seems the Outlook integration feature is missing from the Express edition (intentionally).
Is that indeed the case?
Are there 3rd party libraries that allow connecting to the Outlook model with the Express edition?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您只需安装 Office 互操作程序集 并引用它们。那么你应该可以走了。
You only need to install the Office Interop Assemblies and reference those.. then you should be good to go.
您可以使用Add-in-Express。 他们说支持 Visual C# .NET 2008 Express。 然而它并不便宜(349 美元)。
You can use Add-in-Express. They say that Visual C# .NET 2008 Express is supported. It is however not that cheap (US$ 349).
看看黑客 Outlook 最大的问题是 OUtlook Express 是 Microsoft 确实不希望您扩展的东西,而且 COM 接口远未完成,远未记录在案,而且事实上绝对不是推荐的做事方式。 然而,没有推荐的方法,所以剩下的唯一选择就是使用你可以使用的方法,即 COM 接口。
因此,自动化交互基本上会回到旧技术,例如使用 Windows 消息和挂钩界面 - 祝你好运,这并不容易。
PS——完整的 Outlook 是另一回事,只是创建标准 Office 加载项的问题。
Have a look at Hacking Outlook The big problem is that OUtlook Express is something that Microsoft really don't want you to extend and the COM interface is far from complete, far from documented and infact definitely not the recommended way to do things. However there isn't a recommended way so the only choice left is to use what you can i.e. the COM interface.
So automate the interace you are basically back to old techniques such as using Windows messages and hooking the interface - good luck it isn't easy.
PS -- Full Outlook is another matter and is just a matter of creating a standard Office add in.