AxWebBrowser hangs during navigation..

S

SPG

Hi,

I have an app that requires several of the web controls to be shown in an
MDI form.
In most cases I can show these forms and point them all to different URLS
fine.

Every now and then, and without any specific number of forms open, the
control will start navigating but never return.

The events are as follows:

Navigate start,
Progress evetns fire, increments getting increasingly smaller
No complete event.

During which time, the control is completely blank.

Some of the URLs we point to make use of an applet. Could this be the
problem?
Has anyone else seen this happen?

here is our navigate code:

object flags = 0;

object targetFrame = String.Empty;

object postData = String.Empty;

object headers = String.Empty;

Console.WriteLine("About to Navigate to " + m_URL);


m_axWebBrowser.Navigate(m_URL, ref flags, ref targetFrame, ref postData, ref
headers);


Console.WriteLine("Navigate to " + m_URL + " complete");



Steve
 
W

Will

Steve,
I'm having exactly the same problem.
At runtime, I create instances of AxWebBrowser that are added to
TabPages on a 3rd party TabControl. When I before I dispose of the
tabcontrol, I dispose each of the Web Controls in turn.
However, sometimes, when I create a new instance of the tab control
and browser controls, the AxWebBrowser will no longer navigate. This
is not a download problem, they are local copies of HTMLs that I'm
trying to navigate to. Nor, in my case, do I think it is related to
applets - these are bog standard HTMLs I'm testing with.
It doesn't appear to be an issue with the TabControl - I have tried
replacing it and the problem remains.

I was wondering if you have managed to resolve this issue? It's been
annoying me for the last few days and is starting to invade my dreams.
Any help would be much appreciated.

Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top