473,606 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ 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 1208
Hi, I know the answer only on Win32 programming, try using
ReadDirectoryCh angesW (see documentation on MSDN).
Hope this help.
Regards,
Andrea

"Buddy Ackerman" <bu************ **@buddyackerma n.com> ha scritto nel
messaggio news:%2******** ********@TK2MSF TNGP12.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************ **@buddyackerma n.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.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 FindFirstChange Notification.

--

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

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

"Buddy Ackerman" <bu************ **@buddyackerma n.com> ha scritto nel
messaggio news:%2******** ********@TK2MSF TNGP12.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.Sp am.TheWorld.net > wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..

"Buddy Ackerman" <bu************ **@buddyackerma n.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.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 FindFirstChange Notification.

--

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

Nov 22 '05 #5

"Buddy Ackerman" <bu************ **@buddyackerma n.com> wrote in message
news:eI******** *****@TK2MSFTNG P11.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.o rg

Nov 22 '05 #6

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

Similar topics

4
9097
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 copying a large file into the watched folder, the .Created event is fired off immediately and not when the file is finished copying. I have tried waiting for a certain number of .Changed events to be fired after the initial .Created event, and...
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 respond to them in .NET? --Buddy
6
1411
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 on my status window. Is there any way I can call a class in my exe program from dll files? The dll files don't know about the exe files and the exe program that loaded may or may not have a status window.
5
5131
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 7000 files in the directory to be monitored only 123 are sent to the service. What might be going wrong?
0
4756
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 directory(C:\WTK23\appdb\DefaultColorPhone\filesystem\root1) so when I try: ....
3
5531
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 or sample code would be appreciated. Application outline; Machine A is running a "listener" application that is connected to a another device via the serial post and waits for events. We have not problem working with the serial port, or...
4
11725
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 file or changes (to files or folders) then it copies the files (and any new folders) to a folder in the mapped network drive. So far I have been successful in developing and deploying the service which works on my local machine with two drives...
5
2673
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 "reasonable" way to merge these two separate DBs into a single DB at a later date? This seems pretty complicated, since new records in both DBs will have the same IDNOs, yet be totally different data.
0
1134
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 files in the folder at once, the event kicks of 15 times - even though all the files were processed in the 1st event. This is fine, it just won't find any files in the folder for 14 times. But if I drop 600 files in the folder at once, it will...
0
8010
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8433
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8300
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5963
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5461
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3922
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3969
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1550
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1287
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.