axWebBrowser hangs in MDI child form?

L

Les Caudle

I created an app that uses an axWebBrowser control to display a local xml file
and had no problems.

When the form is initially loaded, it displays an htm file that says no file is
loaded:

object o = System.Reflection.Missing.Value;

axWebBrowser1.Navigate(@"file:///" + ((string)(Application.StartupPath +
@"\noXml.htm")).Replace(@"\",@"/"), ref o, ref o, ref o, ref o);

I moved this form to a project where it will live inside an MDIForm.

The form opens, but there is always an hourglass over the axWebBrowser control -
and nothing is displayed.

1. Is there a simple solution to getting the axWebBrowser to work?

2. Is there a better way to display XML in a form?
 

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