473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

FileSystemWatcher functionality in VC 6.0

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
Nov 17 '05 #1
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
Nov 17 '05 #2
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
Nov 17 '05 #3
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

Nov 17 '05 #4
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

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
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...
1
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...
3
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...
2
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...
20
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...
12
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?
3
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...
5
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,...
4
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...
0
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...
0
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...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
Oralloy
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,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.