且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

开始使用Office Outlook加载项?

更新时间:2023-12-05 21:10:22

如果您的预算可以承受(即该产品正在赚钱),我强烈建议 codeplex 上也有一些很好的示例项目,模板和VSTO工具. /p>

快乐的编码.

我想我一定很无聊:-)以下是一些对我有用的选定链接.其中一些非常具体/高级,而另一些则更一般.安排没有特别的顺序.

  1. MSDN Outlook 2010***.链接到文档(MAPI,PIA)等.

  2. SGriffin的MAPI内部结构. 很多有关MAPI的详细信息.通常,它具有低级别访问权限,但还是查找更改,新文档或工具等的好资源.他可能可以从内存中重写MAPI.

  3. MFCMAPI程序&来源检查MAPI文件夹,属性和其他功能的宝贵工具. Microsoft是否是大多数如何在MAPI中执行x?"的参考示例".

  4. OutlookSpy程序.这不是免费的,但是有一个试用版.对于特定需求,它可能比MFCMAPI更好,也可能不比MFCMAPI更好.这是由 Redemption 的作者编写的,该文件是对PIA OOM访问的补充/替换. Dimastr还在线回答了许多(高级)Outlook/MAPI论坛帖子-始终是一个值得关注的好人.

  5. Outlook 2010 Messaging API(MAPI)代码示例-涵盖了提供者(地址/商店/运输).所有本机C ++.

  6. OutlookCode.com 网站推广了Sue Mosher撰写的一些Outlook书籍.我买不起这些书,但是该站点是一个好运,它包含一些良好的链接,一些有用的建议以及一些彻头彻尾的丑陋代码:-)还有一个论坛.

I'm about to work on some Outlook add-ins. It's been years since I did this; and probably several object model revisions!

Can anyone recommend some references to help get me started: blogs, sites, books??

Thanks

If your budget can afford it (ie. the product is making money), I would highly recommend Add-in Express. Lots of samples, documentation, and support -- but requires using their tooling. (It makes Outlook ever so slightly-less of a PITA to deal with.)

However, if you prefer to stick with a (free with VS) Microsoft solution -- it works fairly well, but is missing some "niceties" -- then check out the VSTO on MSDN page as a first stop an follow the links out. There are also some good sample projects, templates, and VSTO tools on codeplex.

Happy coding.

Edit: I guess I must be bored :-) Here are some selected links that I found helpful. some of these are very specific/advanced, and some are more general. The arrangement is in no particular order.

  1. MSDN Outlook 2010 Top-Level. Links to documentation (MAPI, PIAs) etc.

  2. SGriffin's MAPI Internals. Lots of details wrt MAPI. Generally on low-level access but also a good source to find out about changes, new documentation or tools, etc. He could probably rewrite MAPI from memory.

  3. MFCMAPI Program & Source Invaluable tool for inspecting MAPI folders, properties, and whatnot. Is Microsofts "reference example" for most "How do I do x in MAPI?".

  4. OutlookSpy Program. This isn't free, but there is a trial. It may or may not work better than MFCMAPI for particular needs. This was written by the author of Redemption, a supplement/replacement for the PIA OOM access. Dimastr has also answered a number of (advanced) Outlook/MAPI forum posts online -- always a good person to look out for.

  5. Outlook 2010 Messaging API (MAPI) Code Samples - Covers basic (wrapper) implementations of the providers (address/store/transport). All native C++.

  6. OutlookCode.com Site promotes some Outlook books by Sue Mosher. I can't vouch for the books, but the site is a mixed-blessing with some good links, some useful advice, and some downright ugly code :-) Also has a forum.