cross thread operation invalid

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2007
Posts: 60
Reputation: evios is an unknown quantity at this point 
Solved Threads: 0
evios evios is offline Offline
Junior Poster in Training

cross thread operation invalid

 
0
  #1
May 11th, 2008
I get this error message when i create a new file: (using filesystemwatcher() )

Cross thread operation not valid: Control 'txt_folderactivity" acessed from a thread other than the thread it was created on.

  1. If e.ChangeType = IO.WatcherChangeTypes.Created Then
  2. txt_folderactivity.Text &= "File " & e.FullPath & _
  3. " has been created" & vbCrLf
  4. End If
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC