Solved

webBrowser Control resource problem

Posted on 2010-09-16
2
1,601 Views
Last Modified: 2013-12-08
I am just puzzled regarding this problem in using the webBrowser control since I don't see any reason why this could occur. Anyway, here it goes.

There are times that I receive this exception error:

System.Runtime.InteropServices.COMException (0x800700AA): The requested resource is in use. (Exception from HRESULT: 0x800700AA)


Any help on this matter will be greatly appreciated.

Thank in advance!
0
Comment
Question by:Dhanasekaran Sengodan
2 Comments
 
LVL 8

Accepted Solution

by:
cubaman_24 earned 500 total points
ID: 33699716
Well, without more info is hard to know.. That's ERROR_BUSY usually happens when IE is doing something else, e.g. displaying a window.alert message box.
I haven't looked into a solid answer for you, but make sure the application your webbrowser control is operating in is running in a static thread (this means having the [STATThread] attribute on your Main) and also make sure you are only accessing the webbrowser control from the actual UI thread queue - so if you are multi-threading (or using a timer or anything like that) you will need to use the .Invoke() method to insert your requests into the UI queue.
Best regards
0
 
LVL 14

Author Closing Comment

by:Dhanasekaran Sengodan
ID: 33699849
Excellent
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now