I'm using a FileSystemWatcher within an ASP.Net application with VB.Net code behind pages. The FileSystemWatcher resides on Server "A" and correctly captures .txt files being written to the watched folder on Server "B". However, these events are not being written in the textbox on the webform. The syntax I am using for this event is:
If e.ChangeType = IO.WatcherChangeTypes.Created Then
txtFileActivity.Text &= "File " & e.FullPath
& " has been created" & vbCrLf
End If
Using the debugger I've stepped through the code, and it does indeed execute, but it doesn't display.
Any assistance will be appreciated.
Thanks!
If e.ChangeType = IO.WatcherChangeTypes.Created Then
txtFileActivity.Text &= "File " & e.FullPath
& " has been created" & vbCrLf
End If
Using the debugger I've stepped through the code, and it does indeed execute, but it doesn't display.
Any assistance will be appreciated.
Thanks!