上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 42 下一页
  2020年2月17日
摘要: I’m going to take the top reasons and make a series of posts which act as a postmortem of sorts. Hopefully, they can also serve as tips for anybody wh 阅读全文
posted @ 2020-02-17 15:21 Gu 阅读(158) 评论(0) 推荐(0) 编辑
  2020年2月12日
摘要: 在删除数据库用户时,提示: 标题: Microsoft SQL Server Management Studio登录名 '***' 拥有一个或多个数据库。在删除该登录名之前,请更改相应数据库的所有者。 (Microsoft SQL Server,错误: 15174) 解决办法: 假设要删除的用户名为 阅读全文
posted @ 2020-02-12 00:06 Gu 阅读(1029) 评论(0) 推荐(0) 编辑
  2020年2月6日
摘要: serialport DataReceived事件, 默认是收到一个byte就触发事件. lock (thisLock) { int len = sp.BytesToRead; if (len > 0) { Byte[] data = new Byte[len]; try { sp.Read(dat 阅读全文
posted @ 2020-02-06 13:43 Gu 阅读(1692) 评论(0) 推荐(0) 编辑
  2019年10月26日
摘要: 改连接字符串也没有用 https://docs.microsoft.com/en-us/sql/relational-databases/native-client/applications/using-ado-with-sql-server-native-client?view=sql-serve 阅读全文
posted @ 2019-10-26 00:12 Gu 阅读(173) 评论(0) 推荐(0) 编辑
  2019年10月23日
摘要: 安規執行單位、例如 UL、CSA、IEC、BSI、VDE、TUV 和 JSI 等 都要求各製造商在設計和生產電子或電氣產品時要使用“耐壓測試器”作為安全測試。 這些安規執行單位有時也會要求某些產品必須做絕緣電阻測試、接地電阻測試,甚至要 求做洩漏電流測試。 1. 耐壓測試(Dielectric Wi 阅读全文
posted @ 2019-10-23 15:59 Gu 阅读(1162) 评论(0) 推荐(0) 编辑
  2019年10月22日
摘要: CRC(循环冗余校验)在线计算 http://www.ip33.com/crc.html 里面的8005的多项式值,但网上看到的算法都是用A001来异或的 0x8005=1000 0000 0000 0101B 0xA001=1010 0000 0000 0001B 对比两个二进制高低位正好是完全相 阅读全文
posted @ 2019-10-22 23:16 Gu 阅读(10018) 评论(0) 推荐(0) 编辑
  2019年10月7日
摘要: 1. 用setup.exe有问题,用acmsetup.exe 2.打开setupwiz.ini,把"acme=acmboot.exe"改为"=setup\acmsetup.exe"; 3.STF=setup\vb98ent.stf改为=setup\acmsetup.stf, 保存退出; 4.进入se 阅读全文
posted @ 2019-10-07 08:58 Gu 阅读(551) 评论(0) 推荐(0) 编辑
  2019年9月30日
摘要: Error message when you install Office 2010 on a Windows 7-based computer "The installation of Microsoft Office 2010 requires that MSXML version 6.10.1 阅读全文
posted @ 2019-09-30 02:12 Gu 阅读(479) 评论(0) 推荐(0) 编辑
  2019年9月17日
摘要: 请注意红色字体, 采用信号量 ManualResetEvent来控制暂停/继续 ManualResetEvent 允许线程通过发信号互相通信。通常,此通信涉及一个线程在其他线程进行之前必须完成的任务。当一个线程开始一个活动(此活动必须完成后,其他线程才能开始)时,它调用 Reset 以将 Manua 阅读全文
posted @ 2019-09-17 14:30 Gu 阅读(830) 评论(0) 推荐(0) 编辑
摘要: BackgroundWorker是在内部使用了线程池的技术;同时,在Winform 或WPF编码中,它还给工作线程和UI线程提供了交互的能力。 Thread和ThreadPool默认都没有提供这种交互能 力,而BackgroundWorker却通过事件提供了这种能力。这种能力包括:报告进度、支持完成 阅读全文
posted @ 2019-09-17 11:17 Gu 阅读(1939) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 42 下一页