happyqiang

博客园 首页 新随笔 联系 订阅 管理

2022年7月5日 #

摘要: 一:在AutoCad中遇到(你的应用进入了中断状态,但当前未执行任何受选定调试引擎支持的代码(例如,仅在执行本机运行时代码)。) 解决办法: Command: FIBERWORLD FIBERWORLD = 1 (read only) Command: NEXTFIBERWORLD Enter ne 阅读全文
posted @ 2022-07-05 19:33 妙堂传奇 阅读(109) 评论(0) 推荐(0) 编辑

2022年4月24日 #

摘要: 1:Initialize 方法最开始: Thread thread = new Thread(initForm); thread.Start(); 该方法最后: thread.Abort(); (可以控制要显示多久,中间sleep) 2: private void initForm() { usin 阅读全文
posted @ 2022-04-24 17:25 妙堂传奇 阅读(343) 评论(0) 推荐(0) 编辑

2022年3月30日 #

摘要: 一:某表格后面要复制n个表格: int copytbs = buildnumlist.Count - 1; Aspose.Words.Tables.Table tb = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 1, true); 阅读全文
posted @ 2022-03-30 10:06 妙堂传奇 阅读(460) 评论(0) 推荐(0) 编辑

2022年2月12日 #

摘要: 用 Devart 需要的dll: Devart.Data.dll;Devart.Data.Oracle.dll 需要的许可: licenses.licx 没有这个会报错:License not found. Please view "Licensing" topic in dotConnect fo 阅读全文
posted @ 2022-02-12 19:29 妙堂传奇 阅读(571) 评论(0) 推荐(0) 编辑

2021年12月28日 #

摘要: 1:安装精简版sqlserver2008安装包:express版本(大约95M) SQLEXPR_x64_CHS.exe 2:服务器上启用混合模式: 启用 混合模式(Windows 身份验证和 SQL Server 身份验证) 方法:打开注册表编辑器,找到 Software\Microsoft\Mi 阅读全文
posted @ 2021-12-28 16:56 妙堂传奇 阅读(1366) 评论(0) 推荐(0) 编辑

2021年10月26日 #

摘要: .Net2.0连接PG数据注意事项 第一次用.net操作PG[.NET2.0] 一:Npgsql版本问题 1:如果是.net2.0 建议用2.0.11.0[NuGet搜索npgsql第一个的最低版本] 如果是.net3.5 最高只能到2.2.6 2.2.7就需要.net4了 二:SqlHelp操作 阅读全文
posted @ 2021-10-26 17:22 妙堂传奇 阅读(1429) 评论(0) 推荐(0) 编辑

2019年11月29日 #

摘要: 1:创建工程名.def的文件,内容如下: 2:def文件位置: 3:属性页配置: 4:acrxEntryPoint.cpp下面添加如下代码(可以传参数) 5:c#调用 怕自己忘记,记录一下. 阅读全文
posted @ 2019-11-29 17:10 妙堂传奇 阅读(333) 评论(0) 推荐(0) 编辑

2019年7月19日 #

摘要: 1 with cte as 2 ( 3 select a.DepartCode,a.DepartName,a.ParentDepartCode from tbDeparts a where ParentDepartCode='2' 4 union all 5 select k.DepartCode,k.DepartName,k.ParentDepartCode from t... 阅读全文
posted @ 2019-07-19 15:13 妙堂传奇 阅读(1408) 评论(0) 推荐(0) 编辑

2019年6月11日 #

摘要: 生成密钥的方法: using System.Security.Cryptography;using System.Security.Cryptography.Xml; 添加.net引用:System.Security.dll .net2.0及以上支持 参考资料:https://docs.micros 阅读全文
posted @ 2019-06-11 15:24 妙堂传奇 阅读(583) 评论(0) 推荐(0) 编辑

2019年4月29日 #

摘要: cad2015+版本可以使用TrayItem气泡显示消息 cad2010+mq+dotnetbar的 DevComponents.DotNetBar.Balloon窗体: IExtensionApplication接口下: //为了能及时接收消息 RabbitMQClient mq = new Ra 阅读全文
posted @ 2019-04-29 16:40 妙堂传奇 阅读(296) 评论(0) 推荐(0) 编辑