湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  218 随笔 :: 1 文章 :: 14 评论 :: 59万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

04 2014 档案

摘要:Task: 在Windows的Service里面定时的调用执行一个批处理文件。 private ApplicationOutput RunCommandOnPC(string executablePath, string args, string workingFolder, bool ... 阅读全文
posted @ 2014-04-30 16:02 fdyang 阅读(6167) 评论(0) 推荐(1) 编辑

摘要:Task: 删除HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0XXX&PID_0XXX Key Tree首先第一想到的使用PS Script来删除:Remove-Item -Path 'Registry::HKEY_LOCAL_M... 阅读全文
posted @ 2014-04-25 13:50 fdyang 阅读(2682) 评论(0) 推荐(0) 编辑

摘要:创建文件夹:if (!Directory.Exists(@"C:\Program Files\TDTK\CoalTraffic\Image\WeightImage"))//判断文件夹是否已经存在 { Directory.CreateDirectory(@"C:\Program Files\TDTK\... 阅读全文
posted @ 2014-04-21 15:49 fdyang 阅读(171) 评论(0) 推荐(0) 编辑

摘要:网上查了一下,原因在于要parse的Xml文件本身包含了一些namespace,这些需要被添加进去。 http://msdn.microsoft.com/zh-cn/library/system.xml.xmldocument.selectsinglenode.aspx 阅读全文
posted @ 2014-04-21 15:00 fdyang 阅读(401) 评论(0) 推荐(0) 编辑

摘要:http://powershell.com/cs/blogs/ebookv2/archive/2012/03/23/chapter-16-managing-windows-registry.aspx 阅读全文
posted @ 2014-04-18 14:04 fdyang 阅读(173) 评论(0) 推荐(0) 编辑

摘要:点击button,选择一个excel文件,并将文件名显示在textbox上。 private void btnSelectErrorTableFile_Click(object sender, RoutedEventArgs e) { var ope... 阅读全文
posted @ 2014-04-15 17:01 fdyang 阅读(10291) 评论(1) 推荐(0) 编辑

摘要:InRelease modethe number in front of the exception is NOT the line of code. Instead it's an offset to the native compiled code, which doesn't have any meaning to humans. More about this here:http://odetocode.com/Blogs/scott/archive/2005/01/24/963.aspxIndebug modethe PDB file will automatical 阅读全文
posted @ 2014-04-11 11:37 fdyang 阅读(284) 评论(0) 推荐(0) 编辑

摘要:首先需要理解 Delegate, Action, Func, Predicate 從根本原理上講都是函數指針,只不過傳入參數和返回值有所限定。 所有的Action, Func, Predicate 都可以轉化成 delegate 來實現。 (1). delegate delegate我们常用到的一种 阅读全文
posted @ 2014-04-07 20:00 fdyang 阅读(317) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示