If you have switched to the new Visual Studio 2005 and .NET Framework 2.0 ... and now you get errors like "Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on." in your applications that was working fine before ...
then
A) you can oldschool like refactor the code to use the BeginInvoke method for multi threading.
B) you can newschool like use the new Backgroundworker class. (very nice)
C) or if you are lazy, just diable the messages with System.Windows.Forms.Form.CheckForIllegalCrossThreadCalls = false;
Remember Me
a@href@title, strike
Theme design by Jelle Druyts
Pick a theme: BlogXP business calmBlue Candid Blue dasBlog dasblogger dasblueblog dasEmerald DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves Tricoleur useit.com Voidclass2
Powered by: newtelligence dasBlog 2.3.9074.18820
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2012, Your Name Here
E-mail