- 博客(23)
- 收藏
- 关注
原创 Office Excel API (四) Cell
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Interop.Excel;namespace OfficeUtility{ /// /// Write and read excel ce
2013-04-02 17:59:48
901
原创 Office Excel API (四) Range
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using Microsoft.Office.Interop.Excel;namespace OfficeUtility{ /// /
2013-04-02 17:58:39
773
原创 Office Excel API (三) Worksheet
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using Microsoft.Office.Interop.Excel;namespace OfficeUtility{ /// /
2013-04-02 17:57:16
1291
原创 WebClient Utility
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using HtmlAgilityPack;using System.Text.RegularExpressions;using System.IO;namespac
2013-04-02 17:52:07
801
原创 EWS Mail Operations (二)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Exchange.WebServices.Data;using System.Net;using System.IO;namespace OfficeUtility{
2013-04-02 17:50:03
1555
原创 EWS Mail Operations (一)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Exchange.WebServices;using Microsoft.Exchange.WebServices.Data;using System.Net;using Sy
2013-04-02 17:49:01
1195
原创 Office Outlook API (三) Search Emails
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Interop.Outlook;using System.IO;namespace OfficeUtility{ /// /// Abo
2013-04-02 17:47:37
1880
原创 Office Outlook API (二) Create and Send Mail
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Office.Interop.Outlook;namespace OfficeUtility{ /// /// Outlook related opera
2013-04-02 17:46:15
1517
原创 Office Outlook API (一)Create Outlook Instance
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices;using System.Threading;using Microsoft.Office.Interop.Outlook;using
2013-04-02 17:43:42
2453
原创 Microsoft.Office.Interop.Excel API 应用(一)ExcelApplication
1. 项目中添加引用“Microsoft.Office.Interop.Excel” ;2. 添加using “”using Microsoft.Office.Interop.Excel; Code:using System.Threading;using System.Runtime.InteropServices;using System.Diagnostics;u
2012-06-01 15:50:34
4180
原创 Microsoft.Office.Interop.Excel API应用(二) Workbook
1. 项目中添加引用“Microsoft.Office.Interop.Excel”;2. 添加 Using Microsoft.Office.Interop.Excel;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using
2012-06-01 15:33:05
3458
原创 Html Agility Pack学习(二):与Firefox插件Xpath/Firebug的结合应用
1. 打开Firefox浏览器,选择“Tools-->Add-Ons”;2. 在搜索框中输入“XPath”;3. 安装4. 重启FireFox, 打开http://www.baidu.com, 单击百度首页的“新闻”,,然后用鼠标右键单击“View Xpath” 命令
2011-08-29 16:35:52
2870
原创 Html Agility Pack学习(一):HtmlAgilityPack类的简单应用
Html Agility Pack (HAP) is a HTML parser library that builds a read/ writes DOM and supports plain XPATH or XSLT. And it is for free. It formats Html as the standard Xml format using XpathDocument rel
2011-08-27 01:19:45
11511
原创 C# 用msiexec安装
忽略TestHarness.Logger.Log, 这是自定义的写日志的方法, 可以替换成Console.WriteLine() public static int InvokeMsi(string msiFilePath, string workDir, bool
2011-08-19 17:26:59
1829
原创 C# 从图片网站中查找符合要求的图片并按照特别要求存在本地硬盘
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Text.RegularExpressions
2011-08-19 17:16:21
528
原创 C# 读取搜索结果
怕丢了,说不定以后会用到,存在这里。 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using Syst
2011-08-19 17:13:17
987
原创 删除单链表中的倒数第n个节点的实现及测试程序
// DeleteListNode.cpp : Defines the entry point for the console application.//删除一链表的倒数第n个节点#include "malloc.h"#include "stdafx.h"#includ
2011-05-16 17:36:00
946
原创 字符串按照单词反序(增加额外空间和不增加额外空间两种实现方法)
<br />将一个字符串按照单词反序,如输入字符串是"I am a programmer", 则输出字符串是"programmer a am I" <br />输入字符串,两个参数可以表示:char * inStr, int inLen,<br />输出字符串,不要用返回字符串/指针的方式,而是也用参数,如:char * outStr<br />如果函数不需要返回,则令其为void <br />注意,当输入参数包含指针时,请在函数开始部分做非空判断(ASSERT),如ASSERT(inStr != NULL
2011-05-15 21:40:00
830
原创 XML转义字符
XML转义字符<br />测试的过程中,经常需要用到XML格式的配置文件,若需要用到大于号,小于号,和符合,(单/双)引号,常会导致XML文件解析错误。事实上,以上提到的5种字符在被用到的时候需要被替换为相应的实体。<br /> 因为如果在XML文档中使用类似"<" 的字符, 解析器会认为这是一个新元素的开始,从而导致解析器错误。<br />下面是五个在XML文档中预定义好的实体:<br /> <<大于号>>小于号&&和''单引号""双引号<br /> <br />
2010-09-20 15:38:00
616
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人