Click here to Skip to main content
15,899,124 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionQuestion regarding filesystemwatcher and existing files Pin
Jon_Boy15-Dec-09 5:22
Jon_Boy15-Dec-09 5:22 
I'm working on an app that utilizes a filesystemwatcher to detect for a particular type of file. When the watcher is running, everything is fine. The watcher correctly picks up new files.

However, the app needs to support being paused and restarted. So, if the app is paused, files are then copied into the directory and the watcher is restarted - it doesn't pick up the existing files even though they match the filter.

I realize the watcher wouldn't trigger the created or modified events, but is there a way to make the watcher to pick up these files, or do I just need to code around this? Just wanted to make sure I wasn't overlooking something with the filewatcher itself.

"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

AnswerRe: Question regarding filesystemwatcher and existing files Pin
DaveAuld15-Dec-09 5:36
professionalDaveAuld15-Dec-09 5:36 
GeneralRe: Question regarding filesystemwatcher and existing files Pin
Jon_Boy15-Dec-09 5:39
Jon_Boy15-Dec-09 5:39 
GeneralRe: Question regarding filesystemwatcher and existing files Pin
Ian Shlasko15-Dec-09 8:02
Ian Shlasko15-Dec-09 8:02 
GeneralRe: Question regarding filesystemwatcher and existing files Pin
Jon_Boy15-Dec-09 8:55
Jon_Boy15-Dec-09 8:55 
GeneralRe: Question regarding filesystemwatcher and existing files Pin
Ian Shlasko15-Dec-09 9:39
Ian Shlasko15-Dec-09 9:39 
QuestionBuilding an application that recieves emails Pin
Aptiva Dave15-Dec-09 4:25
Aptiva Dave15-Dec-09 4:25 
AnswerRe: Building an application that recieves emails Pin
dan!sh 15-Dec-09 5:08
professional dan!sh 15-Dec-09 5:08 
AnswerCheck this article out for reading email ... Pin
David Mujica15-Dec-09 5:24
David Mujica15-Dec-09 5:24 
AnswerRe: Building an application that recieves emails [modified] Pin
plecco22-Dec-09 8:49
plecco22-Dec-09 8:49 
Questionimage capture and object tracking Pin
voodoo_god15-Dec-09 3:46
voodoo_god15-Dec-09 3:46 
QuestionDatagridviewButtoncell accroding to the value of cell() Pin
Paramu197314-Dec-09 22:19
Paramu197314-Dec-09 22:19 
QuestionReplacing Bytes in an Office 2003 Word Document Pin
jonegerton14-Dec-09 3:25
jonegerton14-Dec-09 3:25 
AnswerRe: Replacing Bytes in an Office 2003 Word Document Pin
Richard MacCutchan14-Dec-09 5:05
mveRichard MacCutchan14-Dec-09 5:05 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
jonegerton14-Dec-09 6:32
jonegerton14-Dec-09 6:32 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
The Man from U.N.C.L.E.14-Dec-09 7:33
The Man from U.N.C.L.E.14-Dec-09 7:33 
AnswerRe: Replacing Bytes in an Office 2003 Word Document Pin
Eddy Vluggen14-Dec-09 5:50
professionalEddy Vluggen14-Dec-09 5:50 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
Luc Pattyn14-Dec-09 6:21
sitebuilderLuc Pattyn14-Dec-09 6:21 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
Eddy Vluggen14-Dec-09 7:16
professionalEddy Vluggen14-Dec-09 7:16 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
jonegerton14-Dec-09 6:35
jonegerton14-Dec-09 6:35 
GeneralRe: Replacing Bytes in an Office 2003 Word Document Pin
Member 368078514-Dec-09 8:54
Member 368078514-Dec-09 8:54 
QuestionFind out encoding of any file [modified] Pin
jonegerton14-Dec-09 3:08
jonegerton14-Dec-09 3:08 
AnswerRe: Find out encoding of any file Pin
Richard MacCutchan14-Dec-09 5:06
mveRichard MacCutchan14-Dec-09 5:06 
QuestionHow to auto expand combo box on focus. [modified] Pin
Mithun.Shitole13-Dec-09 23:05
Mithun.Shitole13-Dec-09 23:05 
GeneralIssue when create popup calendar.... Pin
Golden Jing13-Dec-09 14:49
Golden Jing13-Dec-09 14:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.