To be sure its not permissions
use this at the top of filewatcher
[PermissionSet(SecurityAction.Demand, Name="FullTrust")]
also make sure dirinfo is a fully qualified path
and one last thing, why pass in the array to dirselected when you are only trying to poll the first folder
Last edited by dickersonka; Aug 12th, 2008 at 6:34 pm.
Reputation Points: 133
Solved Threads: 141
Veteran Poster
Offline 1,162 posts
since Aug 2008