12 2011 档案

C# windows service Timer控件不起作用的问题
摘要:System.Windows.Form下面的Timer控件对于Windows Service的程序不起左右,需要使用system.Timer下的控件,具体操作如下:打开"工具箱"---右键---"选择项"---找到Timer控件,参照http://www.cnblogs.com/wxukie/archive/2008/01/17/1043219.html 阅读全文

posted @ 2011-12-29 09:02 天天向上的博客 阅读(939) 评论(0) 推荐(0)

无比经典的nsis带SimpleSC脚本
摘要:转自 http://www.dreams8.com/thread-11798-1-1.html高手进阶…………因为需要用到SimpleSC::InstallService这个功能,故此搜索到此篇,看来大有收获,转帖在此# NetHalt - NSIS installer script# Copyright (C) 2008 Daniel Collins <solemnwarning@solemnwarning.net># All rights reserved.## Redistribution and use in source and binary forms, with or 阅读全文

posted @ 2011-12-17 09:37 天天向上的博客 阅读(2971) 评论(0) 推荐(0)

ServerSocket 与 Socket的区别
摘要:1.1 ServerSocket类 创建一个ServerSocket类,同时在运行该语句的计算机的指定端口处建立一个监听服务,如: ServerSocket MyListener=new ServerSocket(600); 这里指定提供监听服务的端口是600,一台计算机可以同时提供多个服务,这些不同的服务之间通过端口号来区别,不同的端口号上提供不同的服务。为了随时监听可能的Client请求,执行如下的语句: Socket LinkSocket=MyListener.accept(); 该语句调用了ServerSocket对象的accept()方法,这个方法的执行将使Server端的程序处于等 阅读全文

posted @ 2011-12-08 09:46 天天向上的博客 阅读(18378) 评论(4) 推荐(4)

log4j和common-logging的区别 .
摘要:暂时做个标记,以后整理http://blog.csdn.net/gaoshang001/article/details/6320892 阅读全文

posted @ 2011-12-01 11:16 天天向上的博客 阅读(226) 评论(0) 推荐(0)

Some characters cannot be mapped using "GBK" character encoding 的解决办法
摘要:参见:http://yushengxiang.iteye.com/blog/714932Eclipse --> window --> Preferences --> General --> Content Types --> Text --> 单击 Java Properties File,在底部出现 'Default edcodng:',改成UTF-8,然后update. 阅读全文

posted @ 2011-12-01 11:02 天天向上的博客 阅读(2289) 评论(0) 推荐(0)

导航