摘要:System.Windows.Form下面的Timer控件对于Windows Service的程序不起左右,需要使用system.Timer下的控件,具体操作如下:打开"工具箱"---右键---"选择项"---找到Timer控件,参照http://www.cnblogs.com/wxukie/archive/2008/01/17/1043219.html
阅读全文
摘要:转自 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
阅读全文
摘要:1.1 ServerSocket类 创建一个ServerSocket类,同时在运行该语句的计算机的指定端口处建立一个监听服务,如: ServerSocket MyListener=new ServerSocket(600); 这里指定提供监听服务的端口是600,一台计算机可以同时提供多个服务,这些不同的服务之间通过端口号来区别,不同的端口号上提供不同的服务。为了随时监听可能的Client请求,执行如下的语句: Socket LinkSocket=MyListener.accept(); 该语句调用了ServerSocket对象的accept()方法,这个方法的执行将使Server端的程序处于等
阅读全文
摘要:暂时做个标记,以后整理http://blog.csdn.net/gaoshang001/article/details/6320892
阅读全文
摘要:参见:http://yushengxiang.iteye.com/blog/714932Eclipse --> window --> Preferences --> General --> Content Types --> Text --> 单击 Java Properties File,在底部出现 'Default edcodng:',改成UTF-8,然后update.
阅读全文