Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Nov 6th, 2006, 9:21 PM   #1
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
FileSystemWatcher has multiple paths

Hello all, long time no see. I have a question. I am making a program that uses a FileSystemWatcher. Problem is I need it to watch for than one path or drive. Say someone has two HDD', and they want to watch both of them for activty. How I do that? This is what I got thus far, and it aint working.

Private Sub btnfolder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnfolder.Click
        watcher.Path = lstdrives.CheckedItems.ToString
    End Sub

What am I doing wrong? Please help.
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

Destruction leads to a very rough road, but it also breeds creation.
bigguy is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
max multiple of 3 xenop Software Design and Algorithms 2 Nov 7th, 2006 1:28 AM
Multiple conditions in an #ifdef statement JawaKing00 C 8 Apr 26th, 2006 5:11 PM
multiple images Dark Flare Knight Java 8 Jun 15th, 2005 8:19 AM
Multiple server clients using sockets + Threads captainK Java 3 Mar 4th, 2005 11:10 AM
multiple definition of variables in include files carlgreen C++ 3 Feb 26th, 2005 8:02 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:36 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC