K3

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 3 4 5 6 7 8 9 下一页

2007年1月4日

摘要: http://www.microsoft.com/china/community/Column/31.mspx 阅读全文
posted @ 2007-01-04 15:24 K3 阅读(245) 评论(0) 推荐(0) 编辑

2007年1月3日

摘要: http://dev.csdn.net/develop/article/15/15113.shtm 阅读全文
posted @ 2007-01-03 12:11 K3 阅读(187) 评论(0) 推荐(0) 编辑

2006年12月14日

摘要: private void SaveImage(string fileName) { // Read the file into a byte array using (FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read)) ... 阅读全文
posted @ 2006-12-14 10:28 K3 阅读(501) 评论(0) 推荐(0) 编辑

摘要: 命名空间 描述 Microsoft.DirectX 公共类和数学结构 ... 阅读全文
posted @ 2006-12-14 09:20 K3 阅读(561) 评论(0) 推荐(0) 编辑

2006年12月5日

摘要: /// /// 获取随机字符串(字符串由数字和字母组成) /// /// 字符串长度 /// static string GetRandomString(int stringLength) { StringBuilder strReturn = new StringBui... 阅读全文
posted @ 2006-12-05 17:04 K3 阅读(636) 评论(0) 推荐(0) 编辑

2006年12月4日

摘要: 对于那些可以自行注册的对象链接和嵌入 (OLE) 控件,例如动态链接库 (DLL) 文件或 ActiveX 控件 (OCX) 文件,您可以使用 Regsvr32 工具 (Regsvr32.exe) 来将它们注册和取消注册。 Regsvr32.exe 的用法 RegSvr32.exe 具有以下命令行选项: Regsvr32 [/u] [/n] [/i[:cmdline]] dllname ... 阅读全文
posted @ 2006-12-04 14:17 K3 阅读(368) 评论(0) 推荐(0) 编辑

2006年11月23日

摘要: 现在做的一个项目,偶然经过一次改动后,部署到客户的XP上后发现TreeView图标全部丢失的情况,然而在Windows2003下却一切正常,百思不得其解,后来在网上偶然发现这个原来是.NET的一个BUG原文和解决方法见 http://www.codeproject.com/buglist/EnableVisualStylesBug.asp或http://www.codeproject.com/cs... 阅读全文
posted @ 2006-11-23 14:22 K3 阅读(780) 评论(1) 推荐(0) 编辑

2006年11月17日

摘要: 微软提供的System.IO.Directory不提供拷贝整个文件夹内容到其他目录的方法,所以自己写了一个 1 2 public class SKDirectory 3 { 4 static public void CopyTo(string sourceDirName, string destDirName) 5 { 6 ... 阅读全文
posted @ 2006-11-17 11:39 K3 阅读(383) 评论(0) 推荐(0) 编辑

摘要: 1using System; 2using System.Collections.Generic; 3using System.Text; 4using System.IO; 5 6using ICSharpCode.SharpZipLib.Zip; 7 8namespace Zipper 9{ 10 public class Zipper 11 ... 阅读全文
posted @ 2006-11-17 11:38 K3 阅读(473) 评论(0) 推荐(0) 编辑

2006年9月26日

摘要: static protected internal long CountFolderLength(string FolderPath) { long folder_length = 0; System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(FolderPath); ... 阅读全文
posted @ 2006-09-26 15:10 K3 阅读(310) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 下一页