PC Review


Reply
Thread Tools Rate Thread

Changing Path property on FileSystemWatcher

 
 
Mike Johnson
Guest
Posts: n/a
 
      18th May 2004
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


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      19th May 2004
Hi Mike,

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

Cor


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      19th May 2004
* "Mike Johnson" <(E-Mail Removed)> 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/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
path is not of a legal form for FileSystemWatcher if I get path fromAppSettings pantagruel Microsoft Dot NET 3 8th Jan 2008 11:39 AM
FileSystemWatcher UNC Path Invalid =?Utf-8?B?d2ViZ3JlZ2luc2Y=?= Microsoft VB .NET 3 26th Jan 2006 04:42 PM
C# FileSystemWatcher with multi path eyal Microsoft C# .NET 4 26th Aug 2004 12:08 AM
Path headaches with the FileSystemWatcher Brian Microsoft Dot NET 0 12th Sep 2003 04:16 PM
Re: FileSystemWatcher Path Not Found Mike Bird Microsoft Dot NET Framework 1 18th Aug 2003 09:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:08 AM.