上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
摘要: 这是一个UDF例程。其中只有一个自定义函数MyFunction。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices... 阅读全文
posted @ 2012-03-08 15:27 许阳 无锡 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 由于所有的Presentation都共用一个Application实体,所以当你在创建一个新的Presentation之前如果只打开了一个Presentation的话那么Presentations[1]就是你要找的Presentation。如果在此之前你打开了多个幻灯片的话你就无法确定了。 阅读全文
posted @ 2012-03-08 10:25 许阳 无锡 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 这是根据一个客户要求写的简单例程用来替代Outlook view control的(Outlook view control的龟速实在令人不爽)由于没多大价值但是随便扔了又显得可惜,所以贴在这里希望能抛砖引玉给大家一个交流的机会。using System;using System.Collectio... 阅读全文
posted @ 2012-03-06 11:59 许阳 无锡 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Sub ExecuteRibbonButton() Dim Item As Outlook.MailItem Set Item = Application.ActiveExplorer().Selection(1) Item.GetInspector.Display ... 阅读全文
posted @ 2012-03-02 15:37 许阳 无锡 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 一下代码实现一个始终显示在Excel前的窗体,不论你怎么切换工作表它都不会消失。当Excel最小化时它会与Excel窗口一起从桌面上消失。using System;using System.Collections.Generic;using System.Linq;using System.Text... 阅读全文
posted @ 2012-03-02 14:39 许阳 无锡 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Imports Outlook = Microsoft.Office.Interop.OutlookPublic Class Form1 Private OLApp As Outlook.Application Private OlExplorer As Outlook.Explorer... 阅读全文
posted @ 2012-02-24 09:32 许阳 无锡 阅读(201) 评论(0) 推荐(0) 编辑
摘要: C#// Microsoft Office Outlook 2007 Add-in Sample Code//// THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY// KIND, EITHER EXPRESSE... 阅读全文
posted @ 2012-02-22 15:37 许阳 无锡 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 在Outlook的左下角我们能看到“邮件”、“日历”、“联系人”、“任务”诸如此类的导航按钮。那么我们能不能加入自己的按钮呢?答案是可以的。如果想要在Outlook中加入自己的导航按钮需要分以下几步走。建立一个MAPIFolder建立一个SolutionsModule用AddSolution为Sol... 阅读全文
posted @ 2012-02-21 14:41 许阳 无锡 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 在Excel Add-in中没有办法设定配置文件。所以我们需要在程序中设定Log4NET的配置。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml.Lin... 阅读全文
posted @ 2012-02-14 16:23 许阳 无锡 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 这是个极其简单的实例,用来向Word文档中添加一个数学汇总公式。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using... 阅读全文
posted @ 2012-02-09 12:49 许阳 无锡 阅读(485) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页