Friday, 23 September 2005

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;

;-)

Friday, 23 September 2005 01:12:35 (GMT Daylight Time, UTC+01:00)  #    Comments [30]  | 
Friday, 16 September 2005

Ich bin jetzt zufällig auf Lounge-Radio gestoßen, einem weiteren netten Online Radio Sender. Ich glaube er wird mich in Zukunft eine Weile begleiten. Das heisst aber nicht, das ich meinem jahrelangen Begleiter somafm untreu werde ;-) Reinhöhren lohnt sich immer.

Friday, 16 September 2005 10:05:01 (GMT Daylight Time, UTC+01:00)  #    Comments [77]  | 

Theme design by Jelle Druyts

Pick a theme: