Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about the FileSystemWatcher

Status
Not open for further replies.

Jabez3rd

Programmer
Feb 6, 2003
9
US
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top