runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2013年7月26日

摘要: 在internet 选项-“安全”选项卡-自定义级别。 在“脚本”下面找到“允许对剪切板进行编程访问”,选择“启用”即可。-END 阅读全文
posted @ 2013-07-26 15:31 runliuv 阅读(339) 评论(0) 推荐(0)

摘要: 原文:http://www.cnblogs.com/codealone/p/3208620.html 打开SVN客户端 常规设置 全局忽略样式,尾部添加 bin obj [Dd]ebug Release temppe *.suo *.pdsync *.projdata *.vbproj.user * 阅读全文
posted @ 2013-07-26 10:07 runliuv 阅读(10084) 评论(0) 推荐(1)

2013年7月24日

摘要: stringpath="c:\windows";Process.Start("explorer.exe", path); 阅读全文
posted @ 2013-07-24 14:55 runliuv 阅读(341) 评论(0) 推荐(0)

摘要: 设置窗体属性KeyPreview=True。private void Form1_KeyUp(object sender, KeyEventArgs e){ if (e.KeyData == Keys.Escape)Application.Exit();} 阅读全文
posted @ 2013-07-24 14:29 runliuv 阅读(480) 评论(0) 推荐(0)

摘要: 当分辨率是800 *600时,底部的按钮无法显示,不能继续安装。可以在右上角,点击电源按钮,在系统设置中调整显示的分辨率后,继续安装。 阅读全文
posted @ 2013-07-24 09:36 runliuv 阅读(1930) 评论(0) 推荐(0)

2013年7月11日

摘要: 加上-ep1 参数即可。rar u -m3 -s -r -o+ -ep1 -x*.zip client_zmv9.zip ".\client_zmv9\*" 阅读全文
posted @ 2013-07-11 10:17 runliuv 阅读(810) 评论(0) 推荐(0)

摘要: SqlConnection sconn = null; SqlCommand scmd = null; SqlTransaction strans = null; try { string sqlInsert = string.Format(@"insert into MyName (myid,myfname,mymname,mylname) values ('{0}','c','c','c')", Guid.NewGuid().ToSt... 阅读全文
posted @ 2013-07-11 09:52 runliuv 阅读(3606) 评论(0) 推荐(0)

2013年7月5日

摘要: IList lstsf = Enum.GetNames(typeof(Environment.SpecialFolder)); foreach (string sf in lstsf) { Environment.SpecialFolder sfType = (Environment.SpecialFolder)Enum.Parse(typeof(Environment.SpecialFolder), sf); string specDir = Environment.GetFolderPath(sfType); }还有个Enum.GetValues 方法 .通过名称转为枚举: Enviro. 阅读全文
posted @ 2013-07-05 21:07 runliuv 阅读(827) 评论(0) 推荐(0)

摘要: StreamWriter Flush 即可。FileStream Flush 无用。 阅读全文
posted @ 2013-07-05 11:57 runliuv 阅读(274) 评论(0) 推荐(0)

2013年7月3日

摘要: ToString MM 小写,有可能时间转为 :2013-49-02,放到数据库中查询,就报错。 阅读全文
posted @ 2013-07-03 15:40 runliuv 阅读(213) 评论(0) 推荐(0)