10 2016 档案

摘要:1.本地打印机 2.网络打印机 远程调用打印机:http://stackoverflow.com/questions/10888201/how-to-list-all-printers-on-network-computer 相关: https://msdn.microsoft.com/zh-cn/ 阅读全文
posted @ 2016-10-31 17:09 特洛伊-Micro 阅读(9746) 评论(0) 推荐(0) 编辑
摘要:1.引言 针式打印机曾经在相当长的一段时间占据打印机市场的主导地位,但是近年来由于喷墨、激光等非击打式打印机的冲击,针式打印机的市场份额逐年下降。即便如此,由于针式打印机在票据打印领域的不可取代性,同时鉴于当前国内打印机市场一直被国外品牌充斥的现状,我们设计并开发了这款基于USB传输的针式打印机。一 阅读全文
posted @ 2016-10-31 14:32 特洛伊-Micro 阅读(4272) 评论(1) 推荐(0) 编辑
摘要:Windows打印体系结构之Print Spooler概念与架构Windows 思杰之路(陶菘) · 2016-09-06 22:07 房子好不好,对我而言始终都是肉体的栖居。对于灵魂,我从来不知道该去向何处。 1、Windows打印体系结构 首先附上查找Windows打印相关内容的链接,这个分类下 阅读全文
posted @ 2016-10-31 14:25 特洛伊-Micro 阅读(4715) 评论(1) 推荐(1) 编辑
摘要:在连接字符串中 添加设置节点 ConnectionLifeTime(计量单位为 秒)。超过设定的连接会话 会被杀死! Connection Lifetime, ConnectionLifeTime 0 When a connection is returned to the pool, its cr 阅读全文
posted @ 2016-10-31 10:48 特洛伊-Micro 阅读(8353) 评论(0) 推荐(0) 编辑
摘要:1 public class ActionFilter : ActionFilterAttribute 2 { 3 public override void OnActionExecuting(System.Web.Http.Controllers.HttpActionContext actionC 阅读全文
posted @ 2016-10-26 09:38 特洛伊-Micro 阅读(886) 评论(0) 推荐(0) 编辑
摘要:on|January 20, 2014 1760 of 2013 people found this helpful Print on|January 20, 2014 1760 of 2013 people found this helpful Print on|January 20, 2014 阅读全文
posted @ 2016-10-25 16:01 特洛伊-Micro 阅读(507) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-10-24 09:39 特洛伊-Micro 阅读(0) 评论(0) 推荐(0) 编辑
摘要:http状态码有那些?分别代表是什么意思? 简单版 [ 100 Continue 继续,一般在发送post请求时,已发送了http header之后服务端将返回此信息,表示确认,之后发送具体参数信息 200 OK 正常返回信息 201 Created 请求成功并且服务器创建了新的资源 202 Acc 阅读全文
posted @ 2016-10-24 09:37 特洛伊-Micro 阅读(844) 评论(0) 推荐(1) 编辑
摘要:对称加密与非对称加密 原创地址:http://www.cnblogs.com/jfzhu/p/4020928.html 转载请注明出处 (一)对称加密(Symmetric Cryptography) 对称加密是最快速、最简单的一种加密方式,加密(encryption)与解密(decryption)用 阅读全文
posted @ 2016-10-24 09:36 特洛伊-Micro 阅读(238) 评论(0) 推荐(0) 编辑
摘要:Windows自带.NET Framework版本大全 转载自:http://blogs.msdn.com/b/astebner/archive/2007/03/14/mailbag-what-version-of-the-net-framework-is-included-in-what-vers 阅读全文
posted @ 2016-10-22 21:58 特洛伊-Micro 阅读(3695) 评论(0) 推荐(0) 编辑
摘要:修改 VSS 默认登录用户名三种方法标签: VSS VSS2005c#2014-11-27 10:27 1561人阅读 评论(0) 收藏 举报 分类: VSS软件开发总会有 BUG 和更新的需求,之前每次更新都是将整项目打包为不同的文件名来记录,但项目多了之后管理也是个很麻烦的问题,所以第一次引入了 阅读全文
posted @ 2016-10-18 16:37 特洛伊-Micro 阅读(2050) 评论(0) 推荐(0) 编辑
摘要:Task.FromResult用来创建一个带返回值的、已完成的Task。 场景一:以同步的方式实现一个异步接口方法 比如有一个接口包含异步方法。 现在,需要以同步的方式实现该接口方法DoSthAsync,但要返回异步的结果。这正是Task.FromResult的用武之地。 以上,在实现类MyClas 阅读全文
posted @ 2016-10-14 18:21 特洛伊-Micro 阅读(12911) 评论(1) 推荐(2) 编辑
摘要:I believe I have gotten LibCurl to work with Visual Studio 2013 now. Persistence ftw! Although, after spending hours trying to solve these error messa 阅读全文
posted @ 2016-10-14 17:04 特洛伊-Micro 阅读(669) 评论(0) 推荐(0) 编辑
摘要:The easiest way to describe what Mono currently supports is:Everything in .NET 4.5 except WPF, WWF, and with limited WCF and limited ASP.NET 4.5 async 阅读全文
posted @ 2016-10-13 10:20 特洛伊-Micro 阅读(261) 评论(0) 推荐(0) 编辑
摘要:标签: dos批处理对话框 2015-11-12 17:20 497人阅读 评论(0) 收藏 举报 标签: dos批处理对话框 2015-11-12 17:20 497人阅读 评论(0) 收藏 举报 脚本(30) 版权声明:本文为博主原创文章,未经博主允许不得转载。 dos命令弹出对话框 Msg命令 阅读全文
posted @ 2016-10-12 17:28 特洛伊-Micro 阅读(2802) 评论(0) 推荐(0) 编辑
摘要:Walkthrough: Deploying a Visual C++ Application By Using the Visual C++ Redistributable Package Visual Studio 2015 Visual Studio 2015 This step-by-ste 阅读全文
posted @ 2016-10-12 16:14 特洛伊-Micro 阅读(1184) 评论(0) 推荐(0) 编辑
摘要:我们的老古董啊 啊啊啊 啊啊 《Microsoft Visual Studio 6.0 Enterprise Edition》(完整9CD,带中文MSDN& 我们的老古董啊 啊啊啊 啊啊 《Microsoft Visual Studio 6.0 Enterprise Edition》(完整9CD,带 阅读全文
posted @ 2016-10-12 09:28 特洛伊-Micro 阅读(6394) 评论(0) 推荐(0) 编辑
摘要:CRegKey 注册表操作 CRegKey 注册表操作 标签: accessnulluserpathbyteie 2011-11-03 13:55 3477人阅读 评论(0) 收藏 举报 标签: accessnulluserpathbyteie 2011-11-03 13:55 3477人阅读 评论 阅读全文
posted @ 2016-10-11 16:07 特洛伊-Micro 阅读(1200) 评论(0) 推荐(0) 编辑
摘要:error LNK2019: 无法解析的外部符号 __imp___CrtDbgReportWerror LNK2005 and error LNK2019 error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenc 阅读全文
posted @ 2016-10-10 15:51 特洛伊-Micro 阅读(1314) 评论(0) 推荐(1) 编辑
摘要:标签: stringwstringwchar_tcharc++2013-12-19 00:29 3721人阅读 评论(0) 收藏 举报本文章已收录于: C++知识库 分类: C/C++(50) 1. char*->string (1)直接转换 const char* nodename;string 阅读全文
posted @ 2016-10-10 14:11 特洛伊-Micro 阅读(12317) 评论(0) 推荐(0) 编辑
摘要:XP HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1406 Vista+ HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settin 阅读全文
posted @ 2016-10-09 15:47 特洛伊-Micro 阅读(3255) 评论(0) 推荐(0) 编辑
摘要:脚本的调试向来是一个艰巨的任务,在powershell出现以前简直是一场灾难。在powershell中微软终于做出了诸多改进,不但有了$Error、-whatif,也有了ISE.而在语法上也增加了try-catch-finally,终于可以便利的进行调试和错误处理了。在该语法中,finally并不是 阅读全文
posted @ 2016-10-09 12:14 特洛伊-Micro 阅读(8872) 评论(0) 推荐(0) 编辑
摘要:Powershell将信息存储在对象中,每个对象都会有一个具体的类型,简单的文本会以System.String类型存储,日期会以System.DateTime类型存储。任何.NET对象都可以通过GetType()方法返回它的类型,该类型中有一个FullName属性,可以查看类型的完整名称。 每一个类 阅读全文
posted @ 2016-10-09 12:13 特洛伊-Micro 阅读(413) 评论(0) 推荐(0) 编辑
摘要:There are several ways: Write-Host: Write directly to the console, not included in function/cmdlet output. Allows foreground and background colour to 阅读全文
posted @ 2016-10-09 12:11 特洛伊-Micro 阅读(1998) 评论(0) 推荐(0) 编辑
摘要:http://techibee.com/powershell/check-if-a-string-is-null-or-empty-using-powershell/1889 Check if a string is NULL or EMPTY using PowerShellby TECHIBEE 阅读全文
posted @ 2016-10-09 12:11 特洛伊-Micro 阅读(722) 评论(0) 推荐(0) 编辑
摘要:你们知道 “break”, “continue”, “return” 和 “exit”的作用吗? 它们是功能强大的语言结构体。下面通过一个测试函数来说明它们之间的不同。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 阅读全文
posted @ 2016-10-09 12:11 特洛伊-Micro 阅读(255) 评论(0) 推荐(0) 编辑
摘要:Windows 系统版本判断 博客分类: C/C++ Windows 系统版本判断 C/C++ 很多情况下,需要软件判断操作系统,其实网上写的都很少,我希望这篇文章能给大家帮助 首先我们要在.h中定义下面的东西 Cpp代码 #define PRODUCT_UNDEFINED 0x00000000 # 阅读全文
posted @ 2016-10-08 18:01 特洛伊-Micro 阅读(552) 评论(0) 推荐(0) 编辑
摘要:std::cout << "ASCII and ANSI" << std::endl;std::wcout << L"INSERT MULTIBYTE WCHAR* HERE" << std::endl; 阅读全文
posted @ 2016-10-08 15:04 特洛伊-Micro 阅读(580) 评论(0) 推荐(0) 编辑
摘要:Kill Process by Name(works in: Microsoft Windows 95/98/ME/NT/2000/XP)It is sometimes necessary to terminate a running process in MS-Windows. The Win32 阅读全文
posted @ 2016-10-08 10:10 特洛伊-Micro 阅读(653) 评论(0) 推荐(0) 编辑
摘要:在将各种类型的数据构造成字符串时,sprintf 的强大功能很少会让你失望。由于sprintf 跟printf 在用法上几乎一样,只是打印的目的地不同而已,前者打印到字符串中,后者则直接在命令行上输出。这也导致sprintf 比printf 有用得多。 sprintf 是个变参函数,定义如下:int 阅读全文
posted @ 2016-10-08 10:08 特洛伊-Micro 阅读(234) 评论(0) 推荐(0) 编辑
摘要:string 是c++标准库里面其中一个,封装了对字符串的操作 把string转换为char* 有3中方法: 1。data 如: string str="abc"; char *p=str.data(); 2.c_str 如:string str="gdfd"; char *p=str.c_str( 阅读全文
posted @ 2016-10-08 09:51 特洛伊-Micro 阅读(1846) 评论(0) 推荐(0) 编辑
摘要:C++调用DLL有两种方法——静态调用和动态调用 C++调用DLL有两种方法——静态调用和动态调用 标签: dllc++winapinullc 2011-09-09 09:49 11609人阅读 评论(0) 收藏 举报 标签: dllc++winapinullc 2011-09-09 09:49 1 阅读全文
posted @ 2016-10-08 09:33 特洛伊-Micro 阅读(2895) 评论(0) 推荐(0) 编辑
摘要:进入命令提示符以后,输入命令:【net user administrator /active:yes】然后注销,就可以使用administrator登录。. 如果想要取消administrator激活,则输入【net user administrator /active:no】 阅读全文
posted @ 2016-10-08 09:10 特洛伊-Micro 阅读(228) 评论(0) 推荐(0) 编辑

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