I have a question. I open visio through my code. I have a treeview showing all of my shapes from that visio window. In VB6 I* was able to select the shape in the visio window and have it select it in my treeview through the event handler. In .NET it tells me I cannot do this because of crossthreading and the thread cannot directly manipulate the main thread.

Is there a workaround for this? I use basically the same code in VB6 and it works great.


Thanks.