473,406 Members | 2,713 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,406 software developers and data experts.

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 1197
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.