- 博客(169)
- 资源 (9)
- 问答 (2)
- 收藏
- 关注
原创 连接移动存储设备时如何不弹出"你想让windows做什么"窗口
每次连接移动存储设备时,系统总是先扫描移动存储设备, 再弹出"你想让windows做什么"窗口,如何取消?运行services.msc停止并禁用Shell Hardware Detection服务
2009-10-06 11:05:00 1323
转载 一些技术贴
程序外观http://www.microsoft.com/china/MSDN/library/netFramework/netframework/layWF2.mspx?mfr=true C#的二进制文件操作及汉字编码转换 http://blog.csdn.net/Daisy423XU/archive/2006/10/13/1333151.aspx Asp.net与SQL一起打包部署安装
2009-10-01 11:05:00 659
原创 编程资源(控件,图标,数据源...)
PNG图标http://www.websbook.com/sc/sc_img/list_19_2.htmlhttp://www.veeqi.com/png/ Icon图标http://www.ganato.com/free_icons/free_icons.phphttp://www.freeiconsdownload.com/index.htmlhttp://download
2009-09-30 22:10:00 745
原创 在VC6中使用GDI+
GDI+ for VC6 MFC文章出处:http://www.diybl.com/course/3_program/c++/cppjs/2008219/100318.htmlGDI+并不限于在.Net中存在,实际上它由Windows XP或Windows Server 2003操作系统提供。它被打包在一个名为GdiPlus.dll的文件中。此文件位于C:/Windows/WinSxS下的相应文件
2009-09-27 13:30:00 1445 1
原创 devenv.exe程序错误的一种解决办法
在打开VS2005时出现:devenv.exe程序错误:初始化失败……一种解决办法:到系统文件夹c:/WINDOWS/WinSxS 下搜索8.0.50727.163 和 8.0.50727.762,将查到的文件和文件夹全部删除(最好是删到回收站里,如果有正在使用的文件则忽略跳过)。重新启动VS2005错误不再出现。本解决办法可能存在一定风险,如果您采用了以上方法,则读者认可自己承担风险
2009-09-27 12:06:00 8314 2
原创 VS中的查找与替换
适用版本2003以后查找通配符:* : 所有字符. : 一个字符^ : 例:^DO(以DO开头的行,即DO一定是这行的第一个字符串)+:例:+DO(I_DO,YOU_DO...但不会出现DO_I)$:例:$DO(查找以DO结尾的行,与^对应)[]:查找一系列字母的组合,例:DATA[A..Z],DATA[1248]/:对多组组合进行分割,例:DATA[A..Z,/0
2009-09-26 20:49:00 3509
转载 深入理解计算机系统(修订版)
深入理解计算机系统(修订版) 【原书名】 Computer Systems A Programmers Perspective 【原出版社】 Pearson 【作者】 (美)Randal E.Bryant; David OHallaron 【译者】 龚奕利 雷迎春 【丛书名】 国外经典计算机科学教材系列 【出版社】 中国电力出版社 http://www.china
2009-06-21 11:39:00 3238 1
原创 深入理解计算机系统---计算机信息存储
计算机使用8位的块(字节(byte)),来作为最小的可寻址的存储器单位,而不是访问存储器中每个单独的位。机器级程序将存储器视为一个非常大的数组,称为虚拟存储器(virtual memory)。存储器的每个字节都由一个唯一的数字来标识,称为它的地址(address),所有可能地址的集合就称为虚拟地址空间(virtual address space)。这个虚拟地址空间只是一个展现给机器级程序的概念性映
2009-06-20 14:57:00 1275
原创 VirtualBox下的Ubuntu的全屏问题。
平台:主机:XPsp3,VirtualBox(2.2.4)下的Ubuntu(9.04)问题:ubuntu作为客机(guest)的分辨率只能调到800×600——屏幕在VirtualBox下的大小不可调解决:安装最新的系统更新(system/软件源)安装VirtualBox增强工具包(重要):(VirtualBox客户机运行窗口菜单栏上)设备-->安装增强功能(点击后桌面上会多一个虚
2009-06-03 11:35:00 7498 1
原创 如何手工写.reg编辑注册表文件
REG文件实际上是一种注册表脚本文件,双击REG文件即可将其中的数据导入到注册表中。通过约定的格式,我们可以利用REG文件直接对注册表进行任何修改操作,而且它对注册表的操作可以不受Regedit.exe被禁用的限制,因此功能更为强大、灵活;此外,由于REG文件可以用任何文本编辑器/(如记事本/进行打开、编辑、修改,可以在发生错误的时候,通过改回REG文件中的数据后再导入,实现恢复操作,因此它更方便
2009-05-31 10:05:00 7303 4
原创 利用C#调用WINRAR实现压缩与解压
参考:http://hi.baidu.com/yandavid/blog/item/4f9bc80906b2998ad0581b5c.html如果想扩展更多的东西,请参考RAR安装目录下 Rar.txt限制~~~~ 路径名长度小于 259 个字符。 最大的压缩文件注释的长度是62000字节。 命令限制: 命令 d,u,f,c
2009-05-14 15:58:00 7045
原创 MySQL相关资源
专家教你安装 MySQL与MySQL GUI Tools http://news.newhua.com/news1/program_database/2009/33/093310651DIG20HDFDKHE034K7F4K8E24684D211GKJ8864C97I8IJ.html
2009-03-20 22:27:00 593
原创 如何解决KeyUp中调用MessageBox传回的回车的问题
设想:窗体上有一个textBox1控件。当我在textBox1中回车时出现MessageBox提示框,再回车MessageBox消失。问题的产生:代码如下:[code=C#] private void textBox1_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Ente
2009-03-04 15:54:00 2066
原创 有关Eclipse 的资源
推荐 Eclipse 阅读清单http://www.ibm.com/developerworks/cn/opensource/os-ecl-read/中国Eclipse社区 http://www.eclipseworld.org/bbs/index.php
2008-12-01 09:02:00 621
原创 SQL日期查询中的典型问题
典型问题:数据表news中有id,title,adddate等字段,并且拥有2005年6月1日至30日数据,每天都有记录,但我在用以下SQL语言句查询时,发现问题: sql查询语句为:select * from news where adddate>=2005-6-16 and adddate 原因:DateTime型含有时:分:秒数值 select
2008-11-29 14:54:00 4567
原创 C#中的dateTimePicker控件(WinForm)
private void frmQuery_Load(object sender, EventArgs e) { dateTimePicker1.Format = DateTimePickerFormat.Custom; //设置为显示格式为自定义 dateTimePicker1.CustomFormat = "yyy
2008-11-29 12:33:00 11256
原创 C#执行"打开"操作
//调用系统默认打开方式打开某文件string path = @"F:/mp3/007.rm";System.Diagnostics.Process.Start( path ); 用记事本打开TXT文件:System.Diagnostics.Process.Start("notepad.exe", txtFilNam);类似的用IE打开TXT文件:System.Diagnostics.P
2008-03-13 13:20:00 980
原创 (C#)如何用.NET的安装项目打包程序?
一、添加文件:1.在“文件系统编辑器”的文件夹列表中(界面左侧),选择“目标计算机上的文件系统/应用程序文件夹”。2.在右面空白处点右键/添加/... 二、更改其中的默认安装路径找到保存安装路径的属性1.在“文件系统编辑器”的文件夹列表中,选择“目标计算机上的文件系统/应用程序文件夹”。2.在“属性”窗口中,选择“DefaultLocation”属性,输入目标文件夹的 Wind
2008-03-13 10:25:00 1478
原创 C#中用DataView.RowFilter对DataSet 中的数据进行过滤.
以Access为例 OleDbDataAdapter daDK = new OleDbDataAdapter(strSql, cn); DataSet daDK.Fill(ds, "TableName"); DataView myDV = new DataView(ds.Tables["TableNam
2008-03-11 17:15:00 10307
原创 C#中窗体之间的数据传递
传参的方法,主要利用ArrayList 类型参数为引用传递的特性.主窗体:public partial class FrmMain : Form { private ArrayList arySf;//传递数据的变量 public FrmMain() { InitializeComponent();
2008-03-11 16:13:00 1273
原创 (C#)Windows Shell 外壳编程系列
(C#)Windows Shell 外壳编程系列1 - 基础,浏览一个文件夹 http://www.cnblogs.com/lemony/archive/2007/04/16/715833.html
2008-03-03 17:34:00 2419
原创 C#遍历IE窗体
先引用System32中SHDocVw.dll和Shell32.dll private void FrmMain_Load(object sender, EventArgs e) { lvwIE.View = View.Details; lvwIE.Columns.Add("URL"); lvwIE.Columns
2008-03-03 12:36:00 1628 3
原创 C#中自定义操作INI文件的类
//网上收集的一个专门操作INI文件的类,有改动.using System;using System.IO;using System.Runtime.InteropServices;using System.Text;using System.Configuration;using System.Collections.Specialized;using System.Collections;
2008-01-23 17:41:00 2233
原创 用ini文件对基于桌面型数据库(Access)程序的数据库定位方式
private void timGetDB_Tick(object sender, EventArgs e) {//timer timGetDB.Enabled = false; string dbPath = GetDBPath(); while (true) {
2008-01-23 17:36:00 1131
原创 C#中的Textbox控件
Q: 如何让输入Textbox的小写字母变大写A: 设置characterCasing属性为Upper 使回车成为Tab private void txt_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e) { EnterToTab(e); } private void EnterToTab(Key
2007-12-06 17:29:00 1782
原创 C#如何设置窗体(控件)快捷键
Q:窗体快捷键编程A:将Form的KeyPreview设为True,之后在Form的KeyUp事件中作判断if (e.KeyCode == Keys.F1){...}
2007-12-06 16:09:00 3354
原创 C#使Pc喇叭发声
using System; using System.Runtime.InteropServices; //这行一定要加class test { [DllImport("kernel32.dll")] private static extern int Beep(int dwFreq ,int dwDuration) ;
2007-11-07 16:15:00 3065
原创 StatusStrip 控件
如何在statusStrip上显示指定内容?最简单的显示方式:在statusStrip上添加一个toolStripStatusLabel,可以直接用toolStripStatusLabel.Text来设置显示的内容.toolStripStatusLabel可以在设计时添加,也可以运行时添加.我一般习惯将toolStripStatusLabel命名为tssXXX(XXX表示其功能)如何改变Too
2007-11-03 17:46:00 1409
原创 .NET笔记
Common Language Runtime (CLR) is the execution environment that manages .NET code at run time.CLR是管理运行时的.NET 代码的执行环境.the Common Language Infrastructure, or CLI CLI微软用于跨平台语言支持的技术The Common Type
2007-10-01 09:58:00 916
原创 SQL Server 2000安装过程中出现:以前的某个程序安装已在安装计算机上创建挂起的文件操作...
SQL Server 2000安装过程中出现:以前的某个程序安装已在安装计算机上创建挂起的文件操作.运行安装程序之前必须重新启动计算机.解决办法: 打开注册表编辑器,在HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager中找到PendingFileRenameOperations项目,并删除它。这样就可以清除安装
2007-09-27 16:21:00 1116
原创 C#相关书
0.0最好的“书籍”其实是google和百度这种搜索引擎,只要你想查,下面任何一本书的内容(不一定是原书)都可以从搜索引擎里得到。 1.0Sams.Teach.Yourself.Visual.C.Sharp.2008.in.24.Hours.Complete.Starter.Kit.Jul.pdf中文名《24小时自学VC sharp 2008》:入门书P529我读的E文版(因为这本书的句子很简
2007-08-17 09:05:00 1361
原创 打开一个VC工程提示"Not all of the windows in the workspace could be opened."
打开一个工程时弹出"Not all of the windows in the workspace could be opened."如何解决?删掉ncb,opt,clw,aps 文件保存,然后重新打开。
2007-07-06 16:59:00 3140
转载 VC文件扩展名解读大全(转)
VC文件扩展名解读大全.APS:存放二进制资源的中间文件,VC把当前资源文件转换成二进制格式,并存放在APS文件中,以加快资源装载速度。资源辅助文件。.BMP:位图资源文件。.BSC:浏览信息文件,由浏览信息维护工具(BSCMAKE)从原始浏览信息文件(.SBR)中生成,BSC文件可以用来在源代码编辑窗口中进行快速定位。用于浏览项目信息的,如果用source brower的话就必须有这个文
2007-07-06 16:55:00 1054
原创 TortoiseSVN简明教程(转)
http://www.cnblogs.com/prince1985s/archive/2006/12/02/579754.html
2007-07-05 12:16:00 1218
原创 为什么要进行软件版本控制?
“彩虹公司”承接了“万象城”的工程,经过分析决定分三个模块来实现。A模板是共同部分,B模块实现内部管理,C模块实现外部浏览。于是项目头头在服务上建了3个目录,分别以A/B/C命令。由两个程序员CrazyCoder和ClientCoder来进行编码。ClientCoder在A目录中建立了文件SessionControl,以实现对Session的控制,它可以实现记录用户名、用户密码等相关信息。而
2007-07-05 10:23:00 2761
原创 HTML学习资源
孙鑫老师的视频教程http://www.sunxin.org/video/html.asp主要内容:HTML常用标记的讲解,帮助您快速掌握HTML语言,为学习XML和JSP开发打下基础。HTML常用标记的讲解,帮助您快速掌握HTML语言,为学习XML和JSP开发打下基础。吴涛的 入门级HTML基础教程http://www.enet.com.cn/eschool/zhuanti/easyhtml
2007-04-25 09:55:00 1149
原创 《C程序设计试题汇编》不完全勘误
6.113因为给出的字符数组特殊性,所以按书上的答案,上机调试给出的结果是正确的,但当测试字符数组从"labchmfye"变为"cadbhmfye" 则结果不再正确。正确代码应为:char a[]="cadbhmfye",t;int i,j; for (i=0;i for(j=i+2;j if(a[j] { t=a[i];
2007-04-15 17:32:00 1852
原创 C#中对日期及时间的操作
string s1 = "19700101"; string s2 = dtpNow.Value.ToString("d"); //dtpNow是个dateTimePicker 控件 DateTime DateTime1 = DateTime.ParseExact(s1, "yyyymmdd", System.Globalizat
2007-04-01 13:07:00 1552
原创 C/C++读文件
FILE * fp = fopen("D://EMP//000001.day","r"); if(!fp) printf("file is not exists/n"); int i; i = getc(fp); printf("%d",i); system("pause");
2007-03-31 11:44:00 2699
原创 主板诊断卡代码大全
主板诊断卡代码大全 代码Award BIOS Ami BIOS Phoenix BIOS或Tandy 3000 BIOS 00.已显示系统的配置;即将控制INI19引导装入。. 01处理器测试1,处理器状态核实,如果测试失败,循环是无限的。处理器寄存器的测试即将开始,不可屏蔽中断即将停用。CPU寄存器测试正在进行或者失败。 02确定诊断的类型(正常
2007-03-21 10:02:00 6015 2
C++ How to Program, 10th Edition, 2016, by Paul Deitel, Harvey
2023-05-20
A Tour of C++ - Stroustrup, Bjarne - Addison Wesley Professional
2023-05-20
Getting Started with Data Warehousing
2015-03-19
Microsoft_SQL_Server_2008_A_Beginner's_Guide 英文版
2009-03-31
LINQ Unleached For C Sharp(2/2)
2008-12-05
LINQ Unleached For C Sharp(1/2)
2008-12-05
Illustrated C# 2005.pdf(1/3)
2007-10-17
IntelliJ Idea Gradle工程, 能否将本地Gradle设为默认值
2021-10-18
关于vite的npm安装命令
2021-10-03
TA创建的收藏夹 TA关注的收藏夹
TA关注的人