Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Fri, 11 Apr 2008 02:34:01 -0700,    group: microsoft.public.dotnet.faqs        back       


Problem with create event of filesystemwatcher   
Hai,

I am using filesystemwatcher in a windows service.Create event is to be 
fired when a file is created in particular folder.its working when i paste a 
file in to that folder.its not working when a file is created dynamically in 
that folder.manually if i create a file in that folder its working but if a 
file created automatically,its not working.just to make my question 
understand, i asked in two ways.

Regards,
Ravi
date: Fri, 11 Apr 2008 02:34:01 -0700   author:   RaviNagam

Re: Problem with create event of filesystemwatcher   
Those actions certainly should be captured by the Create event (and quite 
possibly the Update event too).

Can you post your code?

Also, check out http://www.blackwasp.co.uk/FileSystemWatcher.aspx.  I have 
included a demo that you can download - does this work for you?

-- 

BlackWasp
www.blackwasp.co.uk


"RaviNagam"  wrote in message 
news:E37481B4-1893-4CBA-9EA1-DF88BA6A5157@microsoft.com...
> Hai,
>
> I am using filesystemwatcher in a windows service.Create event is to be
> fired when a file is created in particular folder.its working when i paste 
> a
> file in to that folder.its not working when a file is created dynamically 
> in
> that folder.manually if i create a file in that folder its working but if 
> a
> file created automatically,its not working.just to make my question
> understand, i asked in two ways.
>
> Regards,
> Ravi
date: Fri, 11 Apr 2008 19:10:38 +0100   author:   BlackWasp nospam@please

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us