Hello,
I am searching for a class that would listen to a directory and raise an
event /notification in case of file addition, file deletion modification
etc.
..NET has a FileSystemWatcher class for this. I would to right now avoid
using a .NET class for my application. Does anyone know of a similar class
in VC 6.0 libraries.
Regards,
Maansi 4 2527
On Tue, 5 Jul 2005 15:30:23 +0530, "Maansi Sanghi"
<ma**********@abosoftware.com> wrote: Hello,
I am searching for a class that would listen to a directory and raise an event /notification in case of file addition, file deletion modification etc.
.NET has a FileSystemWatcher class for this. I would to right now avoid using a .NET class for my application. Does anyone know of a similar class in VC 6.0 libraries.
Regards, Maansi
Check out the Win32 API call "FindFirstChangeNotification". I'm sure
someone has probably got a wrapper class for it on codeproject.com
Regards,
PJ Naughter
Naughter Software
Mail: pjna at naughter.com
Web: www.naughter.com
Hotmail/MSN Messenger: pjnaughter at hotmail.com
On Tue, 5 Jul 2005 15:30:23 +0530, "Maansi Sanghi"
<ma**********@abosoftware.com> wrote: Hello,
I am searching for a class that would listen to a directory and raise an event /notification in case of file addition, file deletion modification etc.
.NET has a FileSystemWatcher class for this. I would to right now avoid using a .NET class for my application. Does anyone know of a similar class in VC 6.0 libraries.
Regards, Maansi
Check out the Win32 API call "FindFirstChangeNotification". I'm sure
someone has probably got a wrapper class for it on codeproject.com
Regards,
PJ Naughter
Naughter Software
Mail: pjna at naughter.com
Web: www.naughter.com
Hotmail/MSN Messenger: pjnaughter at hotmail.com
Thanks, this would do the job.
"PJ Naughter" <pj**@naughter.com> wrote in message
news:le********************************@4ax.com... On Tue, 5 Jul 2005 15:30:23 +0530, "Maansi Sanghi" <ma**********@abosoftware.com> wrote:
Hello,
I am searching for a class that would listen to a directory and raise an event /notification in case of file addition, file deletion modification etc.
.NET has a FileSystemWatcher class for this. I would to right now avoid using a .NET class for my application. Does anyone know of a similar
classin VC 6.0 libraries.
Regards, Maansi
Check out the Win32 API call "FindFirstChangeNotification". I'm sure someone has probably got a wrapper class for it on codeproject.com
Regards,
PJ Naughter
Naughter Software Mail: pjna at naughter.com Web: www.naughter.com Hotmail/MSN Messenger: pjnaughter at hotmail.com
Thanks, this would do the job.
"PJ Naughter" <pj**@naughter.com> wrote in message
news:le********************************@4ax.com... On Tue, 5 Jul 2005 15:30:23 +0530, "Maansi Sanghi" <ma**********@abosoftware.com> wrote:
Hello,
I am searching for a class that would listen to a directory and raise an event /notification in case of file addition, file deletion modification etc.
.NET has a FileSystemWatcher class for this. I would to right now avoid using a .NET class for my application. Does anyone know of a similar
classin VC 6.0 libraries.
Regards, Maansi
Check out the Win32 API call "FindFirstChangeNotification". I'm sure someone has probably got a wrapper class for it on codeproject.com
Regards,
PJ Naughter
Naughter Software Mail: pjna at naughter.com Web: www.naughter.com Hotmail/MSN Messenger: pjnaughter at hotmail.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Bailo |
last post by:
I've posted parts of problems in other posts, but I thought I'd
consolidate my questions because I still don't have a solution.
Problem:
I want to use the creation of a file on a remote ftp...
|
by: Primo |
last post by:
Hello,
I am building a data management application with the following processes:
Process 1 is a Windows service which uses FileSystemWatcher to monitor a
directory.
Process 2 opens a file...
|
by: Stampede |
last post by:
Hi,
I want to use the FileSystemWatcher in a Windows Service. I read an article,
where the author created the FileSystemWatcher object in a seperate thread
and when the event is fired, he started...
|
by: Sacha Korell |
last post by:
I need to set up a FileSystemWatcher in my web application (to automatically
process uploaded files) and I'm trying to decide where to set it up. I would
like to keep it within the web app, but it...
|
by: J-T |
last post by:
We are working on an asp.net application which is a 3-tier application.I was
aksed to create a component which monitors a folder and gets the file and
pass them to a class library in our business...
|
by: ljh |
last post by:
Has anyone else noticed that the FileSystemWatcher raises the changed event
twice when a file is changed?
Do you have any idea why this is the case?
|
by: emailtonitin |
last post by:
I am facing a design issue in my code related to the
filesystemwatcher's filter property.
I figured out that the filter won't accept multiple patterns for eg.
"*.txt, *.csv" don't work.
To...
|
by: =?Utf-8?B?Sm9obiBT?= |
last post by:
I am trying to find out if there is a way to tell if there is already a
filesystemwatcher (created by a webservice) monitoring a folder.
I have a webservice that creates a filesystemwatcher,...
|
by: tomb |
last post by:
I'm using VB.net 2003 and a FileSystemWatcher. The Changed event gets
called twice for every change in the folder I'm watching. To build the
functionality, I'm manually changing a text file. As...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |