04 2023 档案

摘要:启用Excel开发工具 打开Excel 的VBA (ALT+F11) 新键VBA工程模块 写入自定义函数 Function HexIPAddr(strIPAddr As String, isAsc As Boolean) As String Dim arry, bit0 As String, bit 阅读全文
posted @ 2023-04-30 14:50 剑小秀 阅读(450) 评论(0) 推荐(0) 编辑
摘要:开始-运行 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /d 1 /t REG_DWORD /f reg add "HKEY_LOCAL_MACHI 阅读全文
posted @ 2023-04-29 17:11 剑小秀 阅读(22) 评论(0) 推荐(0) 编辑
摘要:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device] "DevicePasswordLessBuildVer 阅读全文
posted @ 2023-04-29 17:10 剑小秀 阅读(361) 评论(0) 推荐(0) 编辑
摘要:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]"PendingFileRenameOperations"=- 阅读全文
posted @ 2023-04-29 17:09 剑小秀 阅读(15) 评论(0) 推荐(0) 编辑
摘要:cmd.exe /c echo Y|PowerShell.exe -NoProfile -Command Clear-RecycleBin 阅读全文
posted @ 2023-04-29 17:08 剑小秀 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-04-29 17:05 剑小秀 阅读(158) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Text; using System.Globalization; using System.Security.Cryptography; using System.IO; us 阅读全文
posted @ 2023-04-29 17:00 剑小秀 阅读(36) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System 阅读全文
posted @ 2023-04-29 16:59 剑小秀 阅读(20) 评论(0) 推荐(0) 编辑
摘要:一、准备工作1 Visual Studio 2015 必须有相关的打包组件;2 Visual Studio的打包组件有 InstallShield 和 Visual Studio Installer Projects (安装包:VSI_bundle)组件;3 Visual Studio Instal 阅读全文
posted @ 2023-04-29 09:51 剑小秀 阅读(4200) 评论(0) 推荐(0) 编辑
摘要:直接执行以下SQL语句即可。 Restore database [dbname] with recovery 阅读全文
posted @ 2023-04-25 08:56 剑小秀 阅读(13) 评论(0) 推荐(0) 编辑
摘要:右键项目-添加新项 改变UAC规则的level属性为 requireAdministrator,保存重新生成即可 阅读全文
posted @ 2023-04-23 08:41 剑小秀 阅读(16) 评论(0) 推荐(0) 编辑
摘要:1. 安装Visual Studio Installer Project 1.1 vs2022中-->扩展-->联机-->搜索Microsoft Visual Studio Installer Project 2.右键解决方案-->新增项目-->选择Setup Project 2.1 项目右键 -- 阅读全文
posted @ 2023-04-21 17:39 剑小秀 阅读(583) 评论(0) 推荐(0) 编辑
摘要:CREATE FUNCTION fn_ConvertBinaryIPAddressToString ( @binaryIP varbinary(16) ) RETURNS nvarchar(39) AS BEGIN DECLARE @ipAsString nvarchar(39) -- Is IPv 阅读全文
posted @ 2023-04-17 08:18 剑小秀 阅读(127) 评论(0) 推荐(0) 编辑
摘要:我们使用二进制(16)字段来存储IP地址。 我们这样做,因为它可以同时拥有IPv4和IPv6地址,并且很容易与.Net IPAddress类一起使用。 但是,为了报告目的,我创建了以下SQL函数将二进制地址转换为IP地址字符串。 CREATE FUNCTION fn_ConvertBinaryIPA 阅读全文
posted @ 2023-04-14 11:17 剑小秀 阅读(73) 评论(0) 推荐(0) 编辑
摘要:一、可空类型修饰符 ?引用类型能用null,但是值类型不能。例如: string str = null; int n = null;//报错 为了让值类型也能使用可空类型,就可以使用“?”来表示,语法为“T?”。例如: int i?;//表示可控的类型 DataTime time?;//表示可空的时 阅读全文
posted @ 2023-04-01 17:08 剑小秀 阅读(22) 评论(0) 推荐(0) 编辑

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