文件名称:Windowsservice
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 160kb
- 下载次数:
- 0次
- 提 供 者:
- ja***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1 在Service 的path下指定监控路径 类名fileSystemWatcher1
2 生成解决方案
执行vc.net命令提示
安装服务:在可执行文件(假如为aa.exe)目录下键入installutil aa.exe
删除服务:在可执行文件(假如为aa.exe)目录下键入installutil aa.exe /u
3 启动Service服务
4 现在就可以实现监控了.-1 in the path of Service to monitor the path of the specified class name to generate solutions fileSystemWatcher1 2 command prompt implementation of vc.net installation services: In the executable file (if for aa.exe) directory service type to delete installutil aa.exe: In the executable file (If for aa.exe) directory, type installutil aa.exe/u 3 Start Service Services 4 now can be achieved by monitoring.
2 生成解决方案
执行vc.net命令提示
安装服务:在可执行文件(假如为aa.exe)目录下键入installutil aa.exe
删除服务:在可执行文件(假如为aa.exe)目录下键入installutil aa.exe /u
3 启动Service服务
4 现在就可以实现监控了.-1 in the path of Service to monitor the path of the specified class name to generate solutions fileSystemWatcher1 2 command prompt implementation of vc.net installation services: In the executable file (if for aa.exe) directory service type to delete installutil aa.exe: In the executable file (If for aa.exe) directory, type installutil aa.exe/u 3 Start Service Services 4 now can be achieved by monitoring.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Windowsservice
..............\ServiceControl
..............\..............\AssemblyInfo.cs
..............\..............\bin
..............\..............\...\Debug
..............\..............\...\.....\ServiceControl.exe
..............\..............\...\.....\ServiceControl.pdb
..............\..............\Form1.cs
..............\..............\Form1.resx
..............\..............\obj
..............\..............\...\Debug
..............\..............\...\.....\ServiceControl.exe
..............\..............\...\.....\ServiceControl.Form1.resources
..............\..............\...\.....\ServiceControl.pdb
..............\..............\...\.....\temp
..............\..............\...\.....\TempPE
..............\..............\ServiceControl.csproj
..............\..............\ServiceControl.csproj.user
..............\WindowsApplication1
..............\...................\AssemblyInfo.cs
..............\...................\bin
..............\...................\...\Debug
..............\...................\...\.....\WindowsApplication1.exe
..............\...................\...\.....\WindowsApplication1.pdb
..............\...................\Form1.cs
..............\...................\Form1.resx
..............\...................\obj
..............\...................\...\Debug
..............\...................\...\.....\temp
..............\...................\...\.....\TempPE
..............\...................\...\.....\WindowsApplication1.exe
..............\...................\...\.....\WindowsApplication1.Form1.resources
..............\...................\...\.....\WindowsApplication1.pdb
..............\...................\WindowsApplication1.csproj
..............\...................\WindowsApplication1.csproj.user
..............\Windows服务执行顺序.txt
..............\WinService
..............\..........\AssemblyInfo.cs
..............\..........\bin
..............\..........\...\Debug
..............\..........\...\.....\InstallUtil.InstallLog
..............\..........\...\.....\WinService.exe
..............\..........\...\.....\winservice.InstallLog
..............\..........\...\.....\WinService.pdb
..............\..........\obj
..............\..........\...\Debug
..............\..........\...\.....\temp
..............\..........\...\.....\TempPE
..............\..........\...\.....\WinService.exe
..............\..........\...\.....\WinService.pdb
..............\..........\...\.....\WinService.ProjectInstaller.resources
..............\..........\...\.....\WinService.Service1.resources
..............\..........\ProjectInstaller.cs
..............\..........\ProjectInstaller.resx
..............\..........\Service1.cs
..............\..........\Service1.resx
..............\..........\WinService.csproj
..............\..........\WinService.csproj.user
..............\WinService.sln
..............\ServiceControl
..............\..............\AssemblyInfo.cs
..............\..............\bin
..............\..............\...\Debug
..............\..............\...\.....\ServiceControl.exe
..............\..............\...\.....\ServiceControl.pdb
..............\..............\Form1.cs
..............\..............\Form1.resx
..............\..............\obj
..............\..............\...\Debug
..............\..............\...\.....\ServiceControl.exe
..............\..............\...\.....\ServiceControl.Form1.resources
..............\..............\...\.....\ServiceControl.pdb
..............\..............\...\.....\temp
..............\..............\...\.....\TempPE
..............\..............\ServiceControl.csproj
..............\..............\ServiceControl.csproj.user
..............\WindowsApplication1
..............\...................\AssemblyInfo.cs
..............\...................\bin
..............\...................\...\Debug
..............\...................\...\.....\WindowsApplication1.exe
..............\...................\...\.....\WindowsApplication1.pdb
..............\...................\Form1.cs
..............\...................\Form1.resx
..............\...................\obj
..............\...................\...\Debug
..............\...................\...\.....\temp
..............\...................\...\.....\TempPE
..............\...................\...\.....\WindowsApplication1.exe
..............\...................\...\.....\WindowsApplication1.Form1.resources
..............\...................\...\.....\WindowsApplication1.pdb
..............\...................\WindowsApplication1.csproj
..............\...................\WindowsApplication1.csproj.user
..............\Windows服务执行顺序.txt
..............\WinService
..............\..........\AssemblyInfo.cs
..............\..........\bin
..............\..........\...\Debug
..............\..........\...\.....\InstallUtil.InstallLog
..............\..........\...\.....\WinService.exe
..............\..........\...\.....\winservice.InstallLog
..............\..........\...\.....\WinService.pdb
..............\..........\obj
..............\..........\...\Debug
..............\..........\...\.....\temp
..............\..........\...\.....\TempPE
..............\..........\...\.....\WinService.exe
..............\..........\...\.....\WinService.pdb
..............\..........\...\.....\WinService.ProjectInstaller.resources
..............\..........\...\.....\WinService.Service1.resources
..............\..........\ProjectInstaller.cs
..............\..........\ProjectInstaller.resx
..............\..........\Service1.cs
..............\..........\Service1.resx
..............\..........\WinService.csproj
..............\..........\WinService.csproj.user
..............\WinService.sln