468,241 Members | 1,657 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,241 developers. It's quick & easy.

WinService and filesystemwatcher

Hi

I'm trying to make a service that check if a new file is created in a specific folder. I use this code

fwFichierImp.Path = "c:\Test\
fwFichierImp.Filter = "
fwFichierImp.IncludeSubdirectories = Tru
fwFichierImp.NotifyFilter = NotifyFilters.CreationTim
fwFichierImp.EnableRaisingEvents = Tru
AddHandler fwFichierImp.Created, AddressOf ImpFichie

but the Handler doesn't execute the code. In the handler I only write an entry into the Log. I use LocalSystem to install my service. If I write into the Log in the OnStart it work perfectly but not in the handler

Thanks for any help you can provide.
Nov 20 '05 #1
0 813

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Troy Murphy | last post: by
3 posts views Thread by cs | last post: by
7 posts views Thread by Allen Anderson | last post: by
reply views Thread by Macisu | last post: by
3 posts views Thread by Stampede | last post: by
5 posts views Thread by =?Utf-8?B?Sm9obiBT?= | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.