Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FileSystemWatcher not work in Window services
Message
From
29/02/2004 00:34:21
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
FileSystemWatcher not work in Window services
Miscellaneous
Thread ID:
00881850
Message ID:
00881850
Views:
50
Hi,
I have a simple window services that check any new file created in c:\myfolder. If any, extract the text and do some processing. After it, delete the file.

I use FileSystemWatcher component in my window services and set my window services run auto.
After I restart my pc, I can see my WinServices run. Then I created a file in my folder. But my file still there after 10 seconds.
However, it works find if debug my Window Services thru VS.Net->Debug Process.

Any ideas?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform