Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / January 2005

Tip: Looking for answers? Try searching our database.

Interop Threading Weirdness - Axshdocvw

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Beano - 12 Jan 2005 14:25 GMT
I have a process that starts starts a windows form .dll on a new
thread.  The class gets instantiated, and then the StartNavigation()
method is called.  The StartNavigation method runs the
AxSHDocVw.AxWebBrowser Navigate method.  As soon as the navigate method
finishes running, the window closes and kills the thread.  Now what's
weird is if I put up a MessageBox after I call the Navigate method, and
don't close the MessageBox, the application continues to run and does
not shut down the window.  Does anybody have any insight into what is
going on?
Beano - 12 Jan 2005 20:24 GMT
I ended up turning it into a executable and starting a new process in a
single threaded ApartmentState.  No more threading.  That did the
trick.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.