-
filewatchservicetest
使用FileSystemWatcher监控网络路径(包含源代码)
在VS2005中,.Net里面有个FileSystemWatcher控件,用来监控文件变化,它会通知文件创建,修改,删除的消息。网上这样的例子很多,但是在实际应用的时候,发现还有一些待处理的问题,我做了一个简单的demo,解决了如下的问题:
1. 多次连续触发 (通过一个定时器来解决)
2. 能监控网路路径 (serviceProcessInstaller的Account属性设置为NetworkService)
3. 通过windows service来实现, 做成安装文件方便注册服务
注意事项:
1. 切记网络路径要给guest的权限,否则监控不了。
2. 修改Service1代码中的watcher.Path。
3. 新建文件c: est.log,将此文件设置为可写的权限。
4. 安装完成后手动将服务启动。(err)
- 2008-06-14 19:44:06下载
- 积分:1
-
PhaseShiftMigationPlusInterpolation
Phase Shift Migration Plus Interpolation .for those who are interesting in seismic processing.enjoy it
- 2010-02-21 00:17:22下载
- 积分:1
-
Source
ndi公司CombinedAPISample。ndi公司光学检测程序(The ndi company CombinedAPISample. the ndi companies optical inspection program)
- 2021-04-07 11:29:02下载
- 积分:1
-
single-position
武汉大学编制的单点定位解算软件,独家啊!(Wuhan University, prepared by a single point positioning solver software, exclusive ah!)
- 2020-07-01 08:40:01下载
- 积分:1
-
draw
用vc开发的画图程序,供学习vc使用,是入门MFC的好资料(Development of the Paint program with vc, vc used for learning is good data entry MFC)
- 2011-04-28 08:52:31下载
- 积分:1
-
Dibcom_dib8090
it is the driver of dvb-t stb device on based by dib8090 chipset(it is very useful for stb designer)
- 2014-02-24 13:41:11下载
- 积分:1
-
EncryptDecrypt
Sample Code for encryption and decription
- 2019-02-03 20:09:05下载
- 积分:1
-
04_Modelsim6.5_crack
Modelsim6.5破解与安装详解,内含应用程序及环境配置详情(Modelsim6.5 crack and installation steps)
- 2016-06-19 20:58:13下载
- 积分:1
-
mmsp_php
拥有强大的后台管理功能,管理界面清爽美观,代码干净简洁!各大搜索引擎收录良好!程序还带有防SQL注入及跨站攻击功能,后台实现:网站初始设置、网站公告管理、网站SEO优化管理、站点广告管理、服务器信息探测(Has a strong background in management, management interface beautiful fresh, clean and simple code! Good record in major search engines! Procedures with anti-SQL injection attacks and cross-site capabilities, the background to achieve: the initial Web site settings, site notice management, website SEO optimization management, advertising management site, the server information to detect)
- 2009-04-13 22:18:32下载
- 积分:1
-
Show_Curve
Visual Basic基于天平称重,串口接收数据,在窗体上进行曲线显示(Show Curve)
- 2011-01-20 16:26:37下载
- 积分:1