473,480 Members | 3,017 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Files system events

Windows Explorer windows can update autmatically when a a file is deleted
from another application, I want to be able to respond to similar events.
What file system events are there and how do I respond to them in .NET?
--Buddy
Nov 22 '05 #1
5 1198
Hi, I know the answer only on Win32 programming, try using
ReadDirectoryChangesW (see documentation on MSDN).
Hope this help.
Regards,
Andrea

"Buddy Ackerman" <bu**************@buddyackerman.com> ha scritto nel
messaggio news:%2****************@TK2MSFTNGP12.phx.gbl...
Windows Explorer windows can update autmatically when a a file is deleted
from another application, I want to be able to respond to similar events.
What file system events are there and how do I respond to them in .NET?
--Buddy

Nov 22 '05 #2

"Buddy Ackerman" <bu**************@buddyackerman.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Windows Explorer windows can update autmatically when a a file is deleted
from another application, I want to be able to respond to similar events.
What file system events are there and how do I respond to them in .NET?


Take a look at FindFirstChangeNotification.

--

-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-g*******@mvps.org

Nov 22 '05 #3
Is there a way to determine the user that made the change?
--Buddy
"Andrea De Nardis" <a.********@isacsrl.it> wrote in message
news:eX**************@TK2MSFTNGP11.phx.gbl...
Hi, I know the answer only on Win32 programming, try using
ReadDirectoryChangesW (see documentation on MSDN).
Hope this help.
Regards,
Andrea

"Buddy Ackerman" <bu**************@buddyackerman.com> ha scritto nel
messaggio news:%2****************@TK2MSFTNGP12.phx.gbl...
Windows Explorer windows can update autmatically when a a file is deleted from another application, I want to be able to respond to similar events. What file system events are there and how do I respond to them in .NET?
--Buddy


Nov 22 '05 #4
Is there a way to determine the user that made the change?
--Buddy

"Gary Chanson" <gc******@No.Spam.TheWorld.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...

"Buddy Ackerman" <bu**************@buddyackerman.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Windows Explorer windows can update autmatically when a a file is deleted from another application, I want to be able to respond to similar events. What file system events are there and how do I respond to them in .NET?


Take a look at FindFirstChangeNotification.

--

-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-g*******@mvps.org

Nov 22 '05 #5

"Buddy Ackerman" <bu**************@buddyackerman.com> wrote in message
news:eI*************@TK2MSFTNGP11.phx.gbl...
Is there a way to determine the user that made the change?


I don't thinks so. It might be limited to the current desktop but the
documentation doesn't say.

--

-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-g*******@mvps.org

Nov 22 '05 #6

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

Similar topics

4
9055
by: Josh Usovsky | last post by:
I'm setting up a watched folder using FileSystemWatcher. When I drop a small file into the watched folder, I can respond to a .Created event and process the file with other code. However, if I try...
5
292
by: Buddy Ackerman | last post by:
Windows Explorer windows can update autmatically when a a file is deleted from another application, I want to be able to respond to similar events. What file system events are there and how do I...
6
1404
by: GTi | last post by:
I have a main exe program that have a status window. This exe program loads several dll files with Assembly.LoadFile. I want now this dll files to send my exe program messages so I can display it...
5
5119
by: Philip Wagenaar | last post by:
I have a Windows Form application that monitors a directory using the System.IO.FileSystemWatcher. On the event created I run a sub that sends an xml file over http to a service. When I copy...
0
4737
by: C:\\Marko | last post by:
Hi! I have one problem. I'm working some aplication in J2ME MIDP 2.0. and need to access a directory C:\WTK23\appdb\DefaultColorPhone\pim\events\Events but this isn't a device root...
3
5517
by: geskerrett | last post by:
We have been asked to develop and application for a client that is a 'notification" system. We would like to use python, but are struggling to find the right starting point. Any suggestions, tips...
4
11720
by: sajid_yusuf | last post by:
Hi I am trying to develop a Windows service in VB.NET which has timer enabled and keeps checking a folder (or group of folders) for any new file or changed files. As soon as it detects any new...
5
2656
by: Bob on Whidbey | last post by:
I want to use the same Access 2003 data base system on separate desktops, at separate locations. There is no LAN. Of course both DB's will have numerous additions and changes. Is there a...
0
1129
by: tshad | last post by:
I have a filewatcher program that is working syncronously (which is how I want it to work). But my program will handle whatever files are in the folder at the time it runs. So when I drop 15...
0
7055
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7060
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
7106
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...
0
7022
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4501
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
572
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.