Results 1 to 2 of 2

Thread: i need help for filesystemwatcher??

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2006
    Posts
    50

    i need help for filesystemwatcher??

    i have code but how can i refresh the filesystemwatcher ?? when i execute the button?? .thanks
    Last edited by info; Mar 31st, 2006 at 08:34 AM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: i need help for filesystemwatcher??

    What do you mean by "refresh"? A FSW will just keep on notifying you of the type of changes that you've specified. If you want it to start or stop notifying you of changes then you need to set the EnableRaisingEvents property. If you want to change what events it handles and/or how those events are handled then you need to set properties like Filter, NotifyFilter and Path. The very properties that you presumably would have set in the designer in the first place.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width