Silverlight / WPF - The calling thread cannot access this object because a different thread owns it wpf

Asked By sathish umar on 01-Mar-13 11:51 AM
I m writing a chat application fr a lan,I usd sockets fr connecting with it clients,
now whn i run the pgm its
The calling thread cannot access this object because a different thread owns it.
this error is popping up..Wat 2 do know is there any solution fr this one,
I used System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;
but no use this1 in wpf,can any body get a solution fr this1..
Yugklim A replied to sathish umar on 30-Mar-13 01:54 AM
Try to use Application.Current.Dispatcher.Invoke