Author: Miroslav Stampar
URL: http://mstampar.awardspace.com/
// Dirty way to solve "Cross thread operation not valid" error System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false; // [put thread dirty code here - like setting property of a Form created // in another form, which is a deadly sin by Microsoft] System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = true;











Thanks for this one, I had tried in vain to use Invoke examples but just needed this for a simple telnet prog