当前注册人数422803人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB Android   站内搜索 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

Developing Windows Services using Visual Studio .NET

使用Visual Studio .NET开发Windows Service服务教程及示例代码

2008年03月04日
VB, VB 8.0, Windows, .NET, .NET 2.0, VS, VS2005, Dev
这篇文章结合实例代码,详细讲解如何在Visual Studio中开发.NET环境下的Windows Services系统服务,以及如何调用InstallUtil.exe一步步安装的详细过程。一个非常好的教程。
相关知识

   1. Startup Visual Studio, and select the "Visual Basic" node under "Project Types". Under Templates, select "Windows Service" and name the project "MyWinService".
   2. Under Solution Explorer, select the file name "Service1.vb", and change it to "MyWinService.vb" under Properties section.
   3. Open "MyWinService.vb" in design mode. Right-Click on the design area and choose "Add Installers". This will place two components called "ServiceProcessInstaller1" and "ServiceInstaller1" onto the design area.
   4. Select "ServiceInstaller1", change its name to "MyWinServiceInstaller". Also change the ServiceName from "Service1" to "MyWinService".
   5. Select "ServiceProcessInstaller1", and change its name to "MyWinServiceProcessInstaller".

源代码原文下载:
Developing Windows Services using Visual Studio .NET 2 Article explaining the step by step creation and installation of a simple windows service

源码图片

点击链接查看大图
从本站下载附件及源代码(1个附件,已经成功下载342次)

最值得关注的外文源代码

Calculator
A GPS tracer application for Windows Mobile CE 5
Folder Coder
a Fast FTP and SFTP Client and FTP Server
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论26次,此处显示最近15次评论! 查看所有评论

hxkcyjs  2014年09月28日
谢谢分享
wcxfairy  2014年06月29日
谢谢分享。
cl05032  2013年03月20日
很好的东东
changxq  2011年10月04日
谢谢
April  2011年06月26日
不错,谢谢!
小蝎  2011年02月06日
试一试
  2010年04月10日
谢谢
liu  2009年12月18日
我我要下载了啊
goodky  2009年08月12日
多谢!正在找这方面的帮助呢。
ginger  2009年05月04日
thanks!
narnia2008  2009年01月26日
不错
hanye  2008年11月26日
不错,我目前我正在学习这个
kelen  2008年10月30日
我要下
按时的地方  2008年10月14日
学习
zhxf4556  2008年07月08日
字数在300字内
请如实评论
200万国内源码搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved zhihuishi   免责声明