2008年11月21日

摘要: <html><head> <script language="javascript">function ShowMessageForm(uri){var messenger = new ActiveXObject("Messenger.UIAutomation.1"); messenger.InstantMessage(uri)} </script>... 阅读全文

posted @ 2008-11-21 11:23 Blue 阅读(645) 评论(0) 推荐(0) 编辑

2008年11月10日

摘要: 清理Smartclient缓存cls@echo off echo 清除SmartClient缓存前请确认关闭所有打开的SmartClient程序!echo "Power by TJ R&D, author: Joey Zhang"pauserd /s /q "%userprofile%\Local Settings\Application Data\assembly" & md "... 阅读全文

posted @ 2008-11-10 13:58 Blue 阅读(790) 评论(0) 推荐(0) 编辑

2008年9月25日

摘要: @echo offecho The following commands will set up the database for DocComposer.set /p pDbName=Please Enter Database Name to be Created : (注:不知道怎么把这个参数传入createDB.sql 和DocComposerDatabase.sql 脚本中,这里这个参数无... 阅读全文

posted @ 2008-09-25 09:00 Blue 阅读(2305) 评论(0) 推荐(0) 编辑

2008年9月23日

摘要: >qwinsta /server:机器名 用来查看谁占用机器。>rwinsta 2 /server:机器名把状态为2的人踢掉。==================不知道为什么1楼说的方法不行:( 阅读全文

posted @ 2008-09-23 10:34 Blue 阅读(818) 评论(1) 推荐(0) 编辑

2008年9月4日

摘要: 键盘按键和键盘对应代码表:A <--------> 65 B <--------> 66 C <--------> 67 D <--------> 68 E <--------> 69 F <--------> 70 G <--------> 71 H <--------> 72 I <-----... 阅读全文

posted @ 2008-09-04 16:27 Blue 阅读(2820) 评论(0) 推荐(0) 编辑

2008年8月28日

摘要: 一些简单概念:Thread.Start():启动线程的执行;Thread.Abort():以开始终止此线程的过程。如果线程已经在终止,则不能通过Thread.Start()来启动线程。Thread.Suspend():挂起线程,或者如果线程已挂起,则不起作用;Thread.Resume():继续已挂起的线程;Thread.Interrupt():中断处于 Wait Sleep Join 线程状态的... 阅读全文

posted @ 2008-08-28 17:26 Blue 阅读(708) 评论(0) 推荐(0) 编辑

摘要: 作者:rhythm 向ListView 中添加大数据量解决屏幕刷新“闪”的现象。 向listview中添加超过10000条或更多的数据时,如果我们一条条添加,屏幕会闪的厉害,如果我们一次性添加,可能我们要等上很长时间才能出现结果。为了解决(准确的是减轻)这个问题,我们采用ListView的方法AddRange(),配合BeginUpdate() 和EndUpdate() 使... 阅读全文

posted @ 2008-08-28 17:24 Blue 阅读(4377) 评论(3) 推荐(0) 编辑

2008年2月13日

摘要: 你知道吗?Regsvr32命令   Regsvr 32命令是Windows中控件文件(如扩展名为DLL、OCX、CPL的文件)的注册和反注册工具。   命令格式   Regsvr32 [/s] [/n] [/i[:cmdline]] dllname   /u 卸载安装的控件,卸载服务器注册;   /s 注册成功后不显示操作成功信息框;   /i 调用DllInstall函数并把可选参数[cmdli... 阅读全文

posted @ 2008-02-13 16:53 Blue 阅读(433) 评论(0) 推荐(0) 编辑

2007年7月2日

摘要: 1.在导出的时候,拼出cvs串:数字直接逗号分隔,字符要加引号"\""+indexdata.DataValue.ToString()+ "\"," + "\r\n"; 换行写入文件的时候用下面的写法没问题,不然会出现:不根据逗号分开,excel打开文件串存储在一个column中。using (StreamWriter sw = new StreamWriter(filePath)){sw.Writ... 阅读全文

posted @ 2007-07-02 09:54 Blue 阅读(1164) 评论(0) 推荐(0) 编辑

2007年6月26日

摘要: this.checkBoxEnable.Checked = ( (field.EnFieldAttribute & (long)FieldAttribute.AttrEnable) == (long)FieldAttribute.AttrEnable);this.checkBoxRequired.Checked = ( (field.EnFieldAttribute & (long... 阅读全文

posted @ 2007-06-26 18:30 Blue 阅读(1080) 评论(0) 推荐(0) 编辑