locked
Switching between threads programmetically RRS feed

  • Question

  • I am having a application which is made by several components using COM. My problem is that  i am creating the object of a control that is a part of different component. So whenr i call some  method on that object  i get  cross thread problem. i know this problem can be sort out by changing the thread for that control to main thrad. but i don't know how i can do that by programming . Please provide me  solution  or any kind of help. Thanks in advance
    • Moved by Cindy Meister MVP Monday, May 17, 2010 6:08 AM not VSTO-related (From:Visual Studio Tools for Office)
    Monday, May 17, 2010 4:16 AM

Answers