Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

filesystemwatcher

Posted on 2006-06-09
1
Medium Priority
?
325 Views
Last Modified: 2010-04-16
is there a way to set the filter to look for 2 different types of files..
I type this in the property box under filter

Filter = *.xls, *.doc

I have not been able to get it to work
0
Comment
Question by:bman9111
1 Comment
 
LVL 1

Accepted Solution

by:
mrsreeraj earned 200 total points
ID: 16875683
use empty string to watch for all files

You could also create
several FileSystemWatchers (array) and hook them up with the same event,
like this:

TextFileWatcher.Created += new FileSystemEventHandler(Watchers_Created);
ExeFileWatcher.Created += new FileSystemEventHandler(Watchers_Created);
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question