摘要: Add this code after PdfReader definition PdfReader.unethicalreading = true; 如图: 阅读全文
posted @ 2022-03-24 15:00 real9527 阅读(661) 评论(0) 推荐(0)
摘要: 1、获取引用程序目录,即运行时代码目录 1 AppContext.BaseDirectory; 结果为:....\ApplicationName\bin\Debug\net5.0\ 2、获取文件目录 1 using Microsoft.Extensions.Hosting; 2 3 private 阅读全文
posted @ 2021-04-26 11:56 real9527 阅读(832) 评论(0) 推荐(0)
摘要: 使用说明: 在【Tools】-【Execute Commands】-【Edit/Run Script】 下。输入下面你要选择的语句即可: 1、Name填充Comment 2、Comment填充Name Option Explicit ValidationMode = True Interactive 阅读全文
posted @ 2019-03-21 10:46 real9527 阅读(578) 评论(0) 推荐(1)
摘要: 如果存在schema修改的情况,一定要加[schema] 阅读全文
posted @ 2019-03-20 23:27 real9527 阅读(4529) 评论(0) 推荐(0)
摘要: a.单击 开始 > 运行,输入 regedit,单击 确定。 b.定位到 HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters 键。如果 CredSSP 或者 Parameters 键不存在 阅读全文
posted @ 2018-08-24 11:26 real9527 阅读(741) 评论(0) 推荐(1)
摘要: window.frameElement.id 阅读全文
posted @ 2018-07-25 08:31 real9527 阅读(518) 评论(0) 推荐(0)
摘要: VS的生成可以选择Debug模式或者Release模式,但是我发现在配置里面选择Release无效。 后来发现应该 在 生成-》配置管理器 里面设置。 阅读全文
posted @ 2018-04-23 16:11 real9527 阅读(559) 评论(0) 推荐(0)
摘要: 查询出重复记录 select * from 数据表 WHERE 重复记录字段 in ( select 重复记录字段 from 数据表 group by 重复记录字段 having count(重复记录字段)>1) 阅读全文
posted @ 2018-01-08 14:12 real9527 阅读(89996) 评论(3) 推荐(4)
摘要: 安装完visual studio 2017 后添加引用总是提示 未能加载包ReferenceManagerPackage, 这个问题困扰了两天,直到在网上看到了下面这一段 I just got this error after installation of Visual Studio 2017. 阅读全文
posted @ 2017-03-16 09:39 real9527 阅读(2120) 评论(6) 推荐(0)