[Progress Communities] [Progress OpenEdge ABL] Forum Post: Using .NET Filesystem watcher

  • Thread starter Thread starter MBeynon
  • Start date Start date
Status
Not open for further replies.
M

MBeynon

Guest
Hello (again), I'm trying to implement a filesystem watcher but have come unstuck with the parameters for my subscribed onChange method. DEFINE VARIABLE FileSystemWatcher AS CLASS System.IO.FileSystemWatcher. FileSystemWatcher = NEW System.IO.FileSystemWatcher("C:\MyDIRToWatch"). FileSystemWatcher:NotifyFilter = System.IO.NotifyFilters:LastWrite. FileSystemWatcher:Filter = "*.*". FileSystemWatcher:Changed:Subscribe(OnChange). FileSystemWatcher:EnableRaisingEvents = TRUE. METHOD PRIVATE FINAL VOID OnChange( Does anyone know what goes here? ): RETURN. END METHOD. Could anyone point me in the right direction please. The code examples I've found have been in c# and not too helpful. As always, thanks for the help :-) Mark.

Continue reading...
 
Status
Not open for further replies.
Back
Top