473,386 Members | 1,743 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.

filewatcher file modification

This is probably not the correct usegroup, so I apologize up front.

I'm using a FileWatcher object to trap changes on some user config
files we store on a shared lan drive. When I recognize the file has
changed on the network, I move it to the local machine where its being
watched and copy the new one over. All that works just fine.

The only thing I'd like to do is inform the user, not only that the
file changed, but who the last person was to change it on the network.
Does windows store this information ? I wasn't sure if this was even
possible.

This is XP.

Many Thanks.
Mark

Jan 10 '06 #1
3 1090
<ma*****@yahoo.com> schrieb:
I'm using a FileWatcher object to trap changes on some user config
files we store on a shared lan drive. When I recognize the file has
changed on the network, I move it to the local machine where its being
watched and copy the new one over. All that works just fine.

The only thing I'd like to do is inform the user, not only that the
file changed, but who the last person was to change it on the network.
Does windows store this information ? I wasn't sure if this was even
possible.


I do not know whether or not this is possible, but I would consider it a
security risk if it was possible to determine the name of the user who is
currently locking the file.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 10 '06 #2
Thanks Herfried.

I was thinking more of the perspective from our team where if someone
messed up our shared config file, we would know who messed it up.

Jan 10 '06 #3
If you are using source control, it should keep track of this information
for you.

<ma*****@yahoo.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Thanks Herfried.

I was thinking more of the perspective from our team where if someone
messed up our shared config file, we would know who messed it up.

Jan 10 '06 #4

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

Similar topics

4
by: Ron King Jr | last post by:
I have a small problem with my windows service. The first time I start the service everything works the way it's suppose to, but randomly the service fails. The jist of the service is to use the...
6
by: Troy Murphy | last post by:
The help file for Visual Studio .NET version 1 had a Walkthru for installing a Windows Service that would monitor a folder. Version 1.1 does not seem to have that example anymore. Could someone...
0
by: adam_scheich | last post by:
When creating a file in excel and saving it to a directory that is being watched by filewatcher using Save As, the filewatcher created event doesn't fire. It works fine for text files, but for...
2
by: Roger Twomey | last post by:
I am working on a filewatcher application. The premis is: User uploads an xml file onto the web server the filewatcher app sees the xml file filewatcher app reads the file and inserts...
4
by: Stephen | last post by:
Hi , I am new to FileSystemWatcher Control and observed something that I dont quite understand. If I add file1 and then file2, If i have a FW_Created event, then it displays the messagebox...
1
by: ba.hons | last post by:
Hello, I have a file watcher object which i use to check a directory for XML files. When an XML file is placed in the directory i check the filename, to make sure it for me, then parse the...
3
by: ba.hons | last post by:
Hello All. I have a filewatcher object which looks at a shared folder and when a new XML file is placed in this folder the on create method calls a method which reads the XML file and based on...
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...
7
by: tshad | last post by:
What exactly is FileWatcher doing? When you drop 100 files in a folder it is watching, it normally will fire of the event 100 times. In my case, I do all my processing on the first event so I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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
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
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.