Make your application multi-threaded but work with the web browser control -- and 
every other control that's part of your UI -- only from the application's main (GUI) 
thread.

Have you tried that and had something work poorly?

At 02:32 AM 10/4/2004, SUBSCRIBE DOTNET-CLR Girikrishna Tirumala wrote
>Hello,
>        We would want to use a web browser control SHDocVw.dll in our .NET
>Windows Form application since a native control is unavailable. However
>this control can be instantiated only from an single-threading application
>wheareas our application is multi-threaded (We cannot make this Single
>Threaded for some reason).
>Changing the Threading Model registry entry of the web browser control
>from Apartment to Free also does not help.
>
>Any ideas, suggestions are welcome
>
>Rgds,
>Giri


J. Merrill / Analytical Software Corp

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

Essential .NET: building applications and components with CSharp
August 30 - September 3, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to