Cross-thread operation not valid - Treeview
Posted on 2011-03-17
I've used 'the wizard' to convert a VB app created VS2003 to .Net 3.5 using Visual Studio 2010. On running it everything seems to work (at least the core app, I've stripped out a few old bits and pieces for now) but I am getting an error with the Treeview control (called ProcessTree) - I haven't looked too far into this but I'd see if anyone could give me an easy explanation first ?
Error description -
Cross-thread operation not valid:
Control 'ProcessTree' accessed from a thread other than the thread it was created on.