不错呦!smile@林凯西,确保“准备文件”中的几个文件都有安装,S...您好,看了您这篇帖子觉得很有帮助。但是有个问题想请...我的修改过了怎么还被恶意注册呢 @jjjjiiii 用PJ快9年了,主要是A...PJ3啊,貌似很少有人用PJ了,现在不是WP就是z...@332347365,我当时接入时错误码没有-10...楼主,ChkValue值应为-103是什么意思呢?...大哥 你最近能看到我发的信息,请跟我联系,我有个制...
中国联通4G本地组合套餐和全国组合套餐资费
编辑:dnawo 日期:2016-11-02
Inno Setup检测安装.Net Framework运行环境脚本
编辑:dnawo 日期:2016-10-31
Check .NET Version with Inno Setup[转]
编辑:dnawo 日期:2016-10-31
Inno Setup by Jordan Russell is a great installation scripting program, but lacks a built-in function to determine the .NET Framework version installed on the target machine. Fortunately, it’s easy to write such a function using Inno Setup’s Pascal scripting language.
The Versions
Microsoft maintains a set of registry keys that indicate the installed .NET Framework versions and service packs. C# MVP Scott Dorman has posted a list comprising versions 1.0 through 4.0 (at the time of this writing) in this Stack Overflow thread. The required registry keys are quite similar for most .NET Framework versions except 1.0. We’ll ignore that version which has been obsoleted by 1.1 anyway.
The Versions
Microsoft maintains a set of registry keys that indicate the installed .NET Framework versions and service packs. C# MVP Scott Dorman has posted a list comprising versions 1.0 through 4.0 (at the time of this writing) in this Stack Overflow thread. The required registry keys are quite similar for most .NET Framework versions except 1.0. We’ll ignore that version which has been obsoleted by 1.1 anyway.
中国联通3G用户专享存费送费活动
编辑:dnawo 日期:2016-10-30
Visual Studio 2012创建MVC4项目示例
编辑:dnawo 日期:2016-10-29
Visual Studio 2012创建MVC3项目示例
编辑:dnawo 日期:2016-10-29
Visual Studio 2015创建MVC5项目示例
编辑:dnawo 日期:2016-10-25
C#应用程序自动请求以管理员身份运行
编辑:dnawo 日期:2016-10-24
手工添加卸载程序到控制面板添加或删除程序
编辑:dnawo 日期:2016-10-24
C#应用程序删除自身示例(不另外建批处理文件)
编辑:dnawo 日期:2016-10-24
C#无法删除正在运行的应用程序自身文件,但我们可以调用dos的del命令进行删除,加上ping做适当延时,简直完美:
复制内容到剪贴板
程序代码

//using System.Diagnostics;
Process.Start("cmd.exe", string.Format("/C echo 删除需要一点时间,请稍等... & ping -n 1 delay.mzwu.com > nul & del /Q \"{0}\"", Process.GetCurrentProcess().MainModule.FileName));
Process.Start("cmd.exe", string.Format("/C echo 删除需要一点时间,请稍等... & ping -n 1 delay.mzwu.com > nul & del /Q \"{0}\"", Process.GetCurrentProcess().MainModule.FileName));
