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?
--
Thanks in advance, Les Caudle