I want to monitor a server folder so that changes to a sub-folder are passed to small audit program. The goal is to warn the users before they make a change.
' something like this
Sub folderchange(oldFolder As Object, newFolder As Object, cancel As Boolean)
If LCase(oldFolderParent.Foldername) Like "*special*" Then
If MsgBox("are you sure you want to change " & oldFolder.ParentFoldername, vbYesNo + vbDefaultButton2) <> vbYes Then
cancel = True
I have done some event programming in Outlook, Excel and MS Access, but I don't know how to do it for a file system object.
Perhaps I could put a vbscript program into the users daily logon ??? But other approaches are welcome -- I don't care if the script runs on the server or the client CPU just whichever is easiest.
My environment is an SBS 2003 server with Windows 7 pro clients. (Please -- no lectures about unsupported server software ;-)