自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

红泥屋

许阳的博客

  • 博客(25)
  • 资源 (38)
  • 收藏
  • 关注

原创 用OpenXml在文档的尾部添加一个Rich Text Content Control/Plain Text Content Control

实现环境:Visual Studio 2010, OpenXml SDK 2.0using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;us

2011-12-28 11:39:03 1320

原创 用OpenXml SDK 2.0 创建一个页脚带页码的Word文档

实现环境:Visual Studio 2010, OpenXml SDK 2.0.50727using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.

2011-12-27 09:31:42 3509 3

翻译 接受一个iCal邀请, ExtractOrganizedMeetings值

原文:I received a meeting invitation from someone but I cannot accept the meeting invitation as I can’t use the Accept, Decline and Tentative buttons.I believe the sender used iCal on a Mac to s

2011-12-26 10:47:12 1169 2

原创 Outlook打开工享Calendar

其实……通过Outlook的Application我们是不能直接访问人家的Calendar的。所以我们要绕个圈子去访问它。using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Tools.Ribbon;using Outloo

2011-12-23 15:24:24 1279 2

原创 动态生成多个VBE按钮控件并操作它们的属性

实现环境:Visual Studio 2010,Excel 2010, VSTO 4.0Imports Microsoft.Office.Tools.RibbonImports VBE = Microsoft.Vbe.InteropImports Forms = Microsoft.Vbe.Interop.FormsPublic Class Ribbon1 Private

2011-12-23 14:39:48 1260

原创 给Outlook 2007的Calendar视图增加个右键菜单项

实现环境:Visual Studio 2010, Office 2007, VSTO 4.0using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml.Linq;using Outlook = Microsoft.Office.Interop.Ou

2011-12-23 12:20:48 1829 4

原创 向Excel文档中嵌入VBA控件和UserForm并显示

实现环境:Visual Studio 2010, Excel 2010, VSTO 4.0在文档中嵌入一个Commandbutton点击它会显示一个UserForm,UserForm上有一个CommandButton点击会弹出消息框然后CommandButton的Caption改变。当UserForm关闭是文档中的CommandButton的Caption改变。VB.NET:Imp

2011-12-22 13:09:33 4831

原创 关于向Word文档中的RichText控件插入rtf内容的问题

在OpenXml format 的Word 文档中,似乎没有直接插入rtf格式的方法。如果需要插入rtf的内容只有预先将rtf的内容转换成Word的表现格式然后放在不同的节点下(有些需要放在StyleDefinitionsPart底下有些则做为Run的RunProperties)。

2011-12-21 14:40:43 2106

原创 如果的打开Word文档是Visible参数设为false你会得不到Selection实体

以下是异常重现代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.D

2011-12-21 13:25:48 1817

原创 在Excel(xlsx)文件中用OpenXml SDK 添加一个新的Worksheet并写入字符串

实现环境:Visual Studio 2010, OpenXml SDK 2.0.5022这个代码实现了向一个已有的xlsx文件中添加一个新的Worksheet,并在这个Sheet中写入三行字符串“ObjectA1"~"ObjectC5"Imports DocumentFormat.OpenXml.PackagingImports DocumentFormat.OpenXml.Spr

2011-12-19 20:17:57 1977

原创 关于防止Excel文档被编辑的方法。

第一种方法是设置Workbook的Final属性为True。这样整个文档就只读了。但是这样的话文档会提示你是否取消只读(实际上与没设一个样。)第二种方法是编辑Workbook的BeforSave事件。在BeforSave事件中将Cancel设为True。这样的话在你关闭Excel时只要你有任何操作,不管事前你点了保存按钮与否它都会跳出提示框要你保存文档(你当然要点保存了——虽然什么改动都不会被

2011-12-16 14:36:27 1135

原创 在Excel中用代码嵌入TextBox并设定Chage事件。

本示例在Visual Studio 2010, Office 2010, VSTO 4.0的环境下完成。在工程必须手工添加"Microsoft.Vbe.Interop.Forms"的引用。本示例完成的关键在于Microsoft.Vbe.Interop.Forms.TextBox 变量必须是Class-level的(作用范围在整个类以内)。否则事件不会被触发。using System

2011-12-16 12:55:50 3186

原创 关于MSG文件中不保存UserProperties的解决办法

在实际运用过程中我们发现当MailItem保存为Msg文件 时UserProperties不会被保存。这样的话用户自定义的许多属性将会丢失。所以我建议用户如果要保存带用UserProperties的邮件最好先通过VBA或Add-in把UserPropeties的内容用""保存到HTMLBody中(本人推荐这样做)。或者在Inspector中通过WordEditor或得Word.Document然后

2011-12-16 11:19:20 633

原创 最小的Excel文档

这是一个空白的Excel文档,只有一个WorkSheet。能省略的东西我都省略了。实现环境:Visual Studio 2010, OpenXml SDK 2.0.50727using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Syste

2011-12-15 21:47:42 805

原创 关于在Excel应用中的Exception from HRESULT:0x800A03EC

下面这段代码会抛出这个异常。using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;using System.Xml.Linq;using Microsoft.Office.Tools

2011-12-15 18:24:18 4405

原创 RibbonX的Globalization和Outlook中RibbonX的应用

实现环境:Visual Studio 2010,Office 2010, VSTO 4.0在Ribbon的Globalization中第一步是要建立相应语言的资源文件,这些资源文件的命名方式是"Resources.[语言代码].resx"如图:这此资源文件必须方在项目的“Properties”文件夹下(你刚创建是是在项目的根目录下,需要你手动把它移到"Properties"文件夹下

2011-12-15 13:54:37 1246

原创 RibbonX 动态生成ComboBox和DropDown的Item

先让我们来看一下xml文件的设定:<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load"> <group id="GroupExcelAddIn12" label="ExcelAddI

2011-12-15 13:13:40 4045

原创 VBA抓取屏幕

需要说明的是 关于"user32"下被调用函数的声明,私用常量的声明必需放在VBA代码的开头,否则代码不会运行。抓取活动窗口的Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal _ bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As

2011-12-14 10:45:55 2306

原创 在Ribbon中使用自定义图像。

实现环境:Visual Studio 2010, Office 2010, VSTO 4.0<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load"> <group id="MyGroup"

2011-12-12 12:12:02 2303 1

原创 在Outlook新邮件中向光标所在处插入一段新文字然后光标后移

实现环境:Visual Studio 2010, Outlook 2010, VSTO runtime 4.0C#using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Tools.Ribbon;using Outlook =

2011-12-12 11:17:41 3810 2

原创 一个生成随机密码的WPF小程序

实现环境:Visual Studio 2010MainWindow.xaml<Window x:Class="WpfApplication3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micro

2011-12-09 15:41:51 1288

原创 Excel从另一个Excel文件中用户自定义区域(UsedRange)拷贝数据和行高、列宽

实现环境:Visual Studio 2010, Office 2010, VSTO 4.0, .NET Framework 4.0using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Tools.Ribbon;using E

2011-12-09 14:10:24 5465

原创 一个UnversalTime与本地时间相互转换的工具

这是个小例侱,用于UnversalTime与本地时间的相互转换,最底下的两个空格时用来计算离现在X小时Y分前的时间的。本例程用Visual Studio 2010开发。.NET Framework 4.0。由于嫌麻烦我把修改DateTimePicker值的方法写成了一个事件。这个例程也可以算是个自定义事件的例程吧。using System;using System.Collections

2011-12-08 14:40:27 824

原创 OpenXml 2.0 SDK向PowerPoint 2010文件中插入一个Slide.

实现环境:Visual Studio 2010, PowerPoint 2010,OpenXml SDK 2.0.50727 using System.Windows.Forms;using DocumentFormat.OpenXml;using DocumentFormat.OpenXml.Packaging;using P = DocumentFormat.OpenXml.Pr

2011-12-07 17:35:41 2828

原创 遍历邮件分类,并显示分类颜色

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;

2011-12-05 12:39:16 1083

密码生成器0.0.001-α

Android3.0以上版本的密码生成器。只是个体验版。功能在不断添加。敬请期待。

2012-01-11

用OpenXml向Word文档尾部添加text content控件

http://blog.csdn.net/tx_officedev/article/details/7108396相关资源

2011-12-28

用OpenXml创建一个带页码的Word文档

http://blog.csdn.net/tx_officedev/article/details/7104835相关资源

2011-12-27

AccessShareCalendar

http://blog.csdn.net/tx_officedev/article/details/7098370相关资源

2011-12-23

Excel中嵌入多个VBE控件并触发事件

http://blog.csdn.net/tx_officedev/article/details/7098184相关资源

2011-12-23

VSTOCreateVBA

http://blog.csdn.net/tx_officedev/article/details/7094950相关资源

2011-12-22

InsertNewSheet

http://blog.csdn.net/tx_officedev/article/details/7085485相关资源

2011-12-19

Excel嵌入OLE控件并触发事件

http://blog.csdn.net/tx_officedev/article/details/7077045相关资源

2011-12-16

最简单的Excel文档(OpenXml Format)

http://blog.csdn.net/tx_officedev/article/details/7075588相关资源

2011-12-15

Outlook的Globalization和RibbonX

http://blog.csdn.net/tx_officedev/article/details/7073770相关资源

2011-12-15

RibbonX动态生成ComboBox,DropDown的Item

http://blog.csdn.net/tx_officedev/article/details/7073652资源

2011-12-15

随机密码生成器

http://blog.csdn.net/tx_officedev/article/details/7057342例程

2011-12-09

Excel拷贝数据、行高、列宽的例程

http://blog.csdn.net/tx_officedev/article/details/7056856例程

2011-12-09

UniversalTime与本地时间转换工具

http://blog.csdn.net/tx_officedev/article/details/7053501例程

2011-12-08

OpenXmlSDK2.0向PowerPoint2010中插入新幻灯片

http://blog.csdn.net/tx_officedev/article/details/7050672的示例工程

2011-12-07

Word Document-Level 应用:在光标处插入文字后光标后移

http://blog.csdn.net/tx_officedev/article/details/7027799 的示例

2011-11-30

Outlook打开会话相关的所有邮件

博文相关资源:http://blog.csdn.net/tx_officedev/article/details/7020156 选中一个邮件后点按钮把所有相关邮件在Inspector窗口中显示出来。

2011-11-28

Masm611的flp(VMWare的软盘映像)

用于MASM编程的学习。这个版本的MASM最为常用。许多书都是以它为工具来介绍汇编的

2011-06-01

PCDOS2000的flp文件(VMWare的软盘映像)

IBM的PCDOS2000用惯了Microsoft的东西,偶尔换换口味也是很不错的。

2011-06-01

arronax_0.7.1.tar.xz

arronax 是ubuntu下一款优秀的desktop文件编辑器

2019-09-28

Ubuntu下Desktop文件编辑器arronax

Ubuntu系统下好用的Desktop文件编辑器,比gnome-desktop-item-edit好用多了!

2016-12-13

向Excel文件添加RibbonXml

http://blog.csdn.net/tx_officedev/article/details/7894677相关资源

2012-08-22

向ExcelChart添加数据

http://blog.csdn.net/tx_officedev/article/details/7864219 相关资源

2012-08-14

InsertTextToCurrentSlide

http://blog.csdn.net/tx_officedev/article/details/7690787 相关资源

2012-06-25

Openxml 修改Excel指定单元格

Openxml 修改Excel指定单元格,http://blog.csdn.net/tx_officedev/article/details/7598171相关资源

2012-05-24

Outlook2007 ContextMenu

Outlook2007相关资源

2012-04-19

EmbedYouTubeVideo

http://blog.csdn.net/tx_officedev/article/details/7449951相关资源

2012-04-11

SlideShowNextSlideEvent

http://blog.csdn.net/tx_officedev/article/details/7448493相关资源

2012-04-11

Excel行列号转化

http://blog.csdn.net/tx_officedev/article/details/7448518 相关资源

2012-04-11

AddInConfiguration

http://blog.csdn.net/tx_officedev/article/details/7394768 相关资源

2012-03-26

Managed UDF

http://blog.csdn.net/tx_officedev/article/details/7333018相关资源

2012-03-08

Outlook Windows Forum Automation

http://blog.csdn.net/tx_officedev/article/details/7324204 相关资源。

2012-03-06

一个Excel的非模窗口

http://blog.csdn.net/tx_officedev/article/details/7312276 相关资源

2012-03-02

Open Shared Calendars

http://blog.csdn.net/tx_officedev/article/details/7289432示例代码

2012-02-24

PictureDispConverter

一个微软官方的很好用的类.用于把Resouse中的图像装换成stdole.IPictureDisp

2012-02-22

用VSTO向Word文档中添加数学公式

http://blog.csdn.net/tx_officedev/article/details/7245097 相关资源

2012-02-09

Excel97-2003QueryData

http://blog.csdn.net/tx_officedev/article/details/7226538资源

2012-02-01

OpenXmlAddDelTableCollumn

http://blog.csdn.net/tx_officedev/article/details/7226396 相关资源

2012-02-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除