承君此诺,必守一生!
2014年09月01日
04 2015 档案
NLog的简单使用
摘要:1. 在项目中引用NLog.dll2. 在项目中添加一个NLog.config配置文件 3. 在项目中添加一个LogHelper类using System;using System.Collections.Generic;using ... 阅读全文
posted @ 2015-04-16 10:41 Viki.Feng 阅读(191) 评论(0) 推荐(0)
Windows Service调试
摘要:两种方法:1. 安装Service,然后将VS附加到该Service进行调试。2.修改Program.cs文件。 1 namespace MyProject.Service 2 { 3 static class Program 4 { 5 /// 6 ... 阅读全文
posted @ 2015-04-16 10:30 Viki.Feng 阅读(172) 评论(0) 推荐(0)
Windows Service安装
摘要:有两种方法:1. 在VS2010及以下版本中首先在设计视图中打开service主程序文件,点击右键选择“Add Installer”添加完ProjectInstaller后设置相应属性一般设置如下:设置serviceInstaller1组件的属性: 1) ServiceName = 服务名称 2... 阅读全文
posted @ 2015-04-16 10:14 Viki.Feng 阅读(341) 评论(0) 推荐(0)
在64位系统中无法看到Microsoft Excel Application的问题
摘要:之前遇到一个问题,在Windows Server 2012 R2系统的【组件服务】->【DCOM】中看不到Microsoft Excel Application,重新安装Office问题依旧。原因:在Windows Server 2012 R2的x64环境中是无法管控以x32来执行的DCOM的,也就... 阅读全文
posted @ 2015-04-13 16:59 Viki.Feng 阅读(4249) 评论(0) 推荐(0)