- 博客(7)
- 资源 (38)
- 收藏
- 关注
原创 如何在一个Office Automation的程序中获取Shared Calendars
Imports Outlook = Microsoft.Office.Interop.OutlookPublic Class Form1 Private OLApp As Outlook.Application Private OlExplorer As Outlook.Explorer Private OlNavigationPan As Outlook.Naviga
2012-02-24 09:32:21 819
转载 一个很好用的在Office开发中图像转化成stdole模式的类
C#// Microsoft Office Outlook 2007 Add-in Sample Code//// THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO TH
2012-02-22 15:37:33 921
原创 为Outlook增加SolutionsModule
在Outlook的左下角我们能看到“邮件”、“日历”、“联系人”、“任务”诸如此类的导航按钮。那么我们能不能加入自己的按钮呢?答案是可以的。如果想要在Outlook中加入自己的导航按钮需要分以下几步走。建立一个MAPIFolder建立一个SolutionsModule用AddSolution为SolutionsModule添加Solution. Out
2012-02-21 14:41:01 795
原创 在Excel Add-in中使用log4NET
在Excel Add-in中没有办法设定配置文件。所以我们需要在程序中设定Log4NET的配置。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml.Linq;using Excel = Microsoft.Office.Interop.
2012-02-14 16:23:42 994
原创 使用VSTO向Word文档中添加数学公式
这是个极其简单的实例,用来向Word文档中添加一个数学汇总公式。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using Sy
2012-02-09 12:49:51 2073 1
原创 连接Excel数据源并查询
Excel表必须是97-2003格式的。否则无法查询。Imports System.Data.OleDbPublic Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As _ System.EventArgs) H
2012-02-01 19:04:43 1239
原创 用OpenXml从Presentation的表中移处/添加列
这是个非常简单的例子用来说明移处/添加列的一般方法using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Wind
2012-02-01 17:56:42 1252
用OpenXml向Word文档尾部添加text content控件
2011-12-28
最简单的Excel文档(OpenXml Format)
2011-12-15
Outlook的Globalization和RibbonX
2011-12-15
RibbonX动态生成ComboBox,DropDown的Item
2011-12-15
OpenXmlSDK2.0向PowerPoint2010中插入新幻灯片
2011-12-07
Word Document-Level 应用:在光标处插入文字后光标后移
2011-11-30
Outlook打开会话相关的所有邮件
2011-11-28
Openxml 修改Excel指定单元格
2012-05-24
Outlook Windows Forum Automation
2012-03-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人