I am trying to run some pretty simple code that monitors a folder for
changes (copied the example at
http://www.codeproject.com/dotnet/folderwatcher.asp).
But, when I try and update a textbox control I keep getting the
"Cross-thread operation not valid: Control 'txt_folderactivity' accessed
from a thread other than the thread it was created on." error.
I found the Microsoft explanation at
http://msdn2.microsoft.com/en-us/lib...80,d=ide).aspx, but I
just don't get the explanation.
Can somebody help me understand why I can't simply set the text property
from a thread and what this Microsoft explanation is trying to tell me?
Thanks!