上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 82 下一页
摘要: this.serviceController1 = new ServiceController(); this.serviceController1.ServiceName = "MSFtpsvc"; if (this.serviceController1.Status == ServiceControllerStatus.Running) { try { this.serviceControl... 阅读全文
posted @ 2010-07-29 14:45 greencolor 阅读(118) 评论(0) 推荐(0) 编辑
摘要: ServiceController mobServiceController4 = new System.ServiceProcess.ServiceController(); mobServiceController4.ServiceName = "MSFtpsvc"; if (mobServiceController4.Status == ServiceControllerStatus.Sto... 阅读全文
posted @ 2010-07-29 14:42 greencolor 阅读(278) 评论(0) 推荐(0) 编辑
摘要: DirectoryEntry root = new DirectoryEntry("IIS://localhost/W3SVC");// Find unused ID value for new web site int siteID = 1; //得到现有的站点标识 foreach (DirectoryEntry entry in root.Children){ if (entry.Schema... 阅读全文
posted @ 2010-07-29 12:43 greencolor 阅读(147) 评论(0) 推荐(0) 编辑
摘要: DirectoryEntry _RootFolder = new DirectoryEntry("IIS://localhost/W3SVC/1/ROOT"); DirectoryEntry _VirDir = _RootFolder.Children.Add(@"OKWeb", "IIsWebVirtualDir"); _VirDir.Properties["Path"].Value = @"C... 阅读全文
posted @ 2010-07-28 19:03 greencolor 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Compiler usageaspnet_compiler /v /<websitename> -p <source> <destination>aspnet_compiler /v /Compilation -p c:\WebSites\Compilation c:\WebSites\Compilation_Compiled 阅读全文
posted @ 2010-07-27 16:50 greencolor 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 第一步,如果服务器上没有安装水晶报表是无法显示水晶报表控件的.解决办法是在服务器上安装水晶报表软件。VS2005中含有水晶报表的安装包。找到VS2005安装目录中含有水晶报表的安装文件msi,拷到服务器上,双击执行安装就可以了. D:\Program Files\Microsoft Visual Studio 8\ (这是我的VS2005安装文件夹) \Crystal Reports\CRRedi... 阅读全文
posted @ 2010-07-27 10:04 greencolor 阅读(2572) 评论(1) 推荐(0) 编辑
摘要: final方法1final方法用途1)为了确保某个函数的行为在继承过程中保持不变,并且不能被覆盖(overridding),可以使用final方法。2)class中所有的private和static方法自然就是final。2 final与private关键字类中所有的private方法都隐式地指定是final的。由于无法取用private方法,所以也就无法覆盖它。 阅读全文
posted @ 2010-07-26 12:06 greencolor 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 用 IEXPRESS.EXE 进行自解压安装程序的制作。 阅读全文
posted @ 2010-07-18 09:15 greencolor 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 模糊工具:LSW-IL-Obfuscator Demeanor for .NETSalamander .NET ObfuscatorSalamander .NET ProtectorIL-ObfuscatorDeploy.NETDotfuscatorXenoCodeThinstall加密工具:Themida1dotnet_reactormaxCode加壳:CLISecure, ADEPT Prot... 阅读全文
posted @ 2010-07-11 20:15 greencolor 阅读(178) 评论(0) 推荐(0) 编辑
摘要: embeded test.exefile as resourcenamespace testappstatic void Main(string[] args) { Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("testapp.test.exe"); byte[] bs = new byte[s... 阅读全文
posted @ 2010-07-11 13:22 greencolor 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 82 下一页