Outlook 2010 用代码在Outlook explorer中选中一个邮件
来源:互联网 发布:网络系统集成的概念 编辑:程序博客网 时间:2024/05/22 03:28
这个代码只能在Outlook 2010中使用
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Tools.Ribbon;using Outlook = Microsoft.Office.Interop.Outlook;using System.Windows.Forms;namespace OutlookAddIn18{ public partial class Ribbon1 { private void Ribbon1_Load(object sender, RibbonUIEventArgs e) { } private void button1_Click(object sender, RibbonControlEventArgs e) { Outlook.Application app = Globals.ThisAddIn.Application; Outlook.Explorer exp = app.ActiveExplorer(); Outlook.MailItem item = app.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox).Items[3]; exp.ClearSelection(); exp.AddToSelection(item); } }}
- Outlook 2010 用代码在Outlook explorer中选中一个邮件
- 删除Outlook 2007中重复邮件的C#代码
- 一个往Outlook邮件中嵌图片的例程
- 在C++Builder 中调用OutLook发送邮件
- 在Outlook Web Access中恢复已经删除的邮件
- 在EXCEL中列出OUTLOOK收件箱里所有的邮件
- 利用Exchange在Outlook中实现邮件提醒
- outlook 2010 邮件模板使用
- 用Outlook收发gmail邮件
- 在Outlook 2010中如何实现
- outlook express 邮件导入 outlook
- Outlook 2010不能打开邮件中IE地址链接解决办法
- Microsoft Outlook 2010客户端连接outlook.com邮箱收发邮件
- 如何在 Outlook 2010、Outlook 2007 和 Outlook 2003 中配置 (.pst) 和 (.ost) 文件的大小限制
- google邮件在outlook中的设置
- outlook中实现邮件自动回复
- outlook中实现邮件自动回复
- outlook中实现邮件自动回复
- httpd: Could not reliably determine the server's fully qualified domain name, using
- 线程中的wait和notify方法
- 数据库并发操作
- JS操作Cookie
- rrdtool安装
- Outlook 2010 用代码在Outlook explorer中选中一个邮件
- VC MFC GDI 位图旋转算法
- vim 宏的录制和使用
- Linux下的socket编程
- android中textview的文字处理--同一段文字部分文字作高亮或者显示不同大小等
- web service —— rest
- orale 文档,实例,头文件地址
- ShowWindow 函数
- VC2008 Windows Media Player控件的使用技巧