Loading

摘要: <?xml version="1.0" encoding="utf-8" ?><nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2022-12-11 21:27 码农加一 阅读(31) 评论(0) 推荐(0) 编辑
摘要: VS2022+.NET6新建asp.net core mvc工程无法启动 报以下错误 An unhandled exception occurred while processing the request. InvalidOperationException: The view 'Index' w 阅读全文
posted @ 2022-05-23 10:27 码农加一 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: 编写批处理(.BAT)文件,批量编译工程 VB4: (vb6类似) set vb4exe="C:\Program Files\Microsoft Visual Basic\VB32.EXE" %vb4exe% /make d:\a\b.vbp d:\output\b.exe rem ping这句话是 阅读全文
posted @ 2022-04-13 14:37 码农加一 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 网上的教程都是基于JAVA的,其实C#也是能编写ANTLR的,两者使用的.g4文件都是一样的 使用C#方法如下: 1.新建两个.net framework 控制台应该程序 (1). Antlr0601 (2).Antlr0601Test 2.启动程序包管理器控制台,执行以下命令,目的是添加antlr 阅读全文
posted @ 2022-04-10 22:16 码农加一 阅读(612) 评论(0) 推荐(0) 编辑
摘要: using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Support.UI; using System; using System.Threading; using System.Windows.Form 阅读全文
posted @ 2021-11-03 18:05 码农加一 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 直接上代码:string sendData = "0012345678"; string recvData; DateTime NowTime; DateTime WaitTime; bool TimeOver; // 数据写入串口 serialPort1.Write(sendData); // 等 阅读全文
posted @ 2021-08-20 16:54 码农加一 阅读(216) 评论(0) 推荐(0) 编辑
摘要: ### 1.声名win apiPrivate Declare Function CoCreateGuid Lib "OLE32" (pGuid As guid) As Long ### 2.定义TypePrivate Type guid Data1 As Long Data2 As Integer 阅读全文
posted @ 2021-07-16 11:03 码农加一 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 因为项目需要,要把N个MDB文件导入到MSSQL SERVER,通过百度,查到了以下方法 使用OPENDATASOURCE,不多说,没用明白 SSMS自带的数据导入功能,只能单一导入,并且导入后会丢一些信息:如默认值,自增列等 在百度的时候查到了一个叫"Microsoft SQL Server助手" 阅读全文
posted @ 2021-06-04 13:54 码农加一 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 无题 临时使用 https://files.cnblogs.com/files/lost0/zhengxin.doc.zip 阅读全文
posted @ 2020-12-11 00:01 码农加一 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 原文: http://www.cnblogs.com/xiashengwang/archive/2011/09/15/2578798.html 在winform程序中,经常会用到这几个事件用于控制数字输入,按键动作等操作,但一直没有完全弄清楚他们之间的区别和联系,到底什么时候用哪一个事件合适,闲暇无 阅读全文
posted @ 2019-02-14 20:19 码农加一 阅读(715) 评论(0) 推荐(0) 编辑