02 2012 档案

摘要:Imports Outlook = Microsoft.Office.Interop.OutlookPublic Class Form1 Private OLApp As Outlook.Application Private OlExplorer As Outlook.Explorer... 阅读全文
posted @ 2012-02-24 09:32 许阳 无锡 阅读(212) 评论(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 许阳 无锡 阅读(317) 评论(0) 推荐(0)
摘要:在Outlook的左下角我们能看到“邮件”、“日历”、“联系人”、“任务”诸如此类的导航按钮。那么我们能不能加入自己的按钮呢?答案是可以的。如果想要在Outlook中加入自己的导航按钮需要分以下几步走。建立一个MAPIFolder建立一个SolutionsModule用AddSolution为Sol... 阅读全文
posted @ 2012-02-21 14:41 许阳 无锡 阅读(177) 评论(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 许阳 无锡 阅读(231) 评论(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 许阳 无锡 阅读(512) 评论(0) 推荐(0)
摘要:Excel表必须是97-2003格式的。否则无法查询。Imports System.Data.OleDbPublic Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As _ ... 阅读全文
posted @ 2012-02-01 19:04 许阳 无锡 阅读(447) 评论(0) 推荐(0)
摘要:这是个非常简单的例子用来说明移处/添加列的一般方法using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System... 阅读全文
posted @ 2012-02-01 17:56 许阳 无锡 阅读(225) 评论(0) 推荐(0)