Hi all!
I'm having a problem with the filesystemwatcher to catch file creation in the InternetCache folder because the event 'Created' doesn't fire (Neither any of the other events)...
I've seen other ppl with the same problem but i can't find answers
Here's my code:
Any ideas?Code:private void frmMain_Load(object sender, EventArgs e) { fswInternetCache.Path = Environment.GetFolderPath(Environment.SpecialFolder.InternetCache).ToString(); fswInternetCache.NotifyFilter = System.IO.NotifyFilters.FileName; fswInternetCache.Filter = "*.gif"; wb.Navigate("http://www.google.com/"); } private void fswInternetCache_Created(object sender, System.IO.FileSystemEventArgs e) { MessageBox.Show(e.FullPath); }
Thanks in advance





Reply With Quote