会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
凯文软件
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
17
下一页
2024年8月21日
共享登陆
摘要: string sqlString = "net use \\\\10.30.35.59\\ipc$ \"234.\" /user:\"asd\""; 共享登陆(sqlString);private static void 共享登陆(string sqlString) { ProcessStartIn
阅读全文
posted @ 2024-08-21 09:10 网络来者
阅读(10)
评论(0)
推荐(0)
2024年8月20日
启动按ctrl键 屏蔽自动隐藏功能
摘要: [DllImport("User32.dll", EntryPoint = "ShowWindow")] private static extern bool ShowWindow(IntPtr hWnd, int type); #region 启动按ctrl键 屏蔽自动隐藏功能 bool forc
阅读全文
posted @ 2024-08-20 22:43 网络来者
阅读(23)
评论(0)
推荐(0)
程序版本号显示
摘要: Assembly assembly = Assembly.GetExecutingAssembly(); Version version = assembly.GetName().Version; Console.Title += " " + version.ToString();
阅读全文
posted @ 2024-08-20 21:09 网络来者
阅读(9)
评论(0)
推荐(0)
控制台程序定时重启
摘要: 调用 if (!System.Diagnostics.Debugger.IsAttached) { int times = 24 * 3600; 自动重启(times); } private static void 自动重启(int times) { new System.Timers.Timer(
阅读全文
posted @ 2024-08-20 21:06 网络来者
阅读(17)
评论(0)
推荐(0)
RestSharp 组件第二弹
摘要: 安装的版本NuGet\Install-Package RestSharp -Version 106.15.0加入 tokenvar clientForSave = new RestClient("http://10.30.35.22:32080/ipms/v1/12/bulletin-board/r
阅读全文
posted @ 2024-08-20 19:52 网络来者
阅读(46)
评论(0)
推荐(0)
oracle mysql 驱动程序安装配置
摘要: Install-Package Oracle.ManagedDataAccess -Version 12.2.20230118 版本可以安装到19.18Install-Package MySql.Data -Version 8.0.32.1config文件新增内容<system.data> <DbP
阅读全文
posted @ 2024-08-20 17:59 网络来者
阅读(34)
评论(0)
推荐(0)
虚拟机模板制作
摘要: VMware16 安装esxi8 安装win7 x64 安装软件 7z 搜狗输入法 ovftool.exe vi://192.168.213.128/win7x64 d:\win7x64.ovaovftool.exe vi://192.168.213.128/win10x64 d:\win10x64
阅读全文
posted @ 2024-08-20 07:29 网络来者
阅读(13)
评论(0)
推荐(0)
2024年8月19日
RestSharp 最简代码
摘要: 安装的版本 NuGet\Install-Package RestSharp -Version 106.15.0 代码如下 internal class Program { static void Main(string[] args) { 语音实体 x = new 语音实体(); x.text =
阅读全文
posted @ 2024-08-19 14:08 网络来者
阅读(35)
评论(0)
推荐(0)
2024年8月17日
Grid++Report 组件使用最简代码
摘要: 在‘添加引用’窗口中选择‘COM’选项卡,在列表中双击‘Grid++Report Engine 6.0 Type Library’项使用设计器设计一个模板 ,加入 vs2022 项目 设置为 文件新则拷贝因为是打印标签 ,数据有限,所以模板使用参数传递数据,纸型按实际标签的长宽设置c# 调用模板的代
阅读全文
posted @ 2024-08-17 08:33 网络来者
阅读(707)
评论(0)
推荐(0)
2024年8月15日
最简fastreport打印代码
摘要: //需要引用三个文件 //D:\Patch\FastReport.dll//D:\Patch\FastReport.Bars.dll//D:\Patch\FastReport.Editor.dll 设计器中文语言包文件 Chinese (Simplified).frl private void 打印
阅读全文
posted @ 2024-08-15 22:55 网络来者
阅读(14)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
17
下一页
公告