470,631 Members | 2,035 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,631 developers. It's quick & easy.

Changing Path property on FileSystemWatcher

I have a Form named Form1 which I added a FileSystemWatcher component, I
need to change the Path property on this component. I've read the Article
Working with forms which I got from this News group, but I don't understand
it well enough to get this to work. I know I'm missing something but it
eludes me. Please Help. Thanks
Nov 20 '05 #1
2 1395
Hi Mike,

There where no answers, probably we miss something in your question, show us
a piece of code?

Cor
Nov 20 '05 #2
* "Mike Johnson" <jo*****@bellsouth.net> scripsit:
I have a Form named Form1 which I added a FileSystemWatcher component, I
need to change the Path property on this component. I've read the Article
Working with forms which I got from this News group, but I don't understand
it well enough to get this to work.


Did you try this?

\\\
Me.FileSystemWatcher1.Path = "C:\Foo"
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Tony W | last post: by
4 posts views Thread by eyal | last post: by
10 posts views Thread by Jeff Grantham | last post: by
1 post views Thread by Fredrik Johansson | last post: by
1 post views Thread by greg_slavin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.