?
Solved

webBrowser Control resource problem

Posted on 2010-09-16
2
Medium Priority
?
1,717 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
cubaman_24 earned 2000 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

Docker-Compose to Simplify Multi-Container Builds

Our veteran DevOps Author takes you through how to build a multi-container environment, managed with a single utility in order to simplify your deployments.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses

752 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