Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Navigate method!

Status
Not open for further replies.

Darissimus

Programmer
Dec 24, 2002
1
YU
I have a problem with Navigate method in webbrowser activex control.
In my C# application i use Navigate method like this:

object argo = null;
axWebBrowser.Navigate(localfilename,ref argo,ref argo, ref argo,ref argo);

After some time of inactivity of my application when this method is called I got error message:

QueryInterface for interface SHDocVw.IWebBrowser2 failed ...

When this method is called 20 times in a row everything works fine, but after about 15 minutes of inactivity calling this method causes error.
Can anybody help me?
 
Hi,
I am also facing exactly the same problem when using a web browser control with c#!
Haqve u been able to find a solution to this?
I will eb greatful if you could guide me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top