PC Review


Reply
Thread Tools Rate Thread

axWebBrowser hangs in MDI child form?

 
 
Les Caudle
Guest
Posts: n/a
 
      9th Jan 2005
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
 
Reply With Quote
 
 
 
 
Les Caudle
Guest
Posts: n/a
 
      9th Jan 2005
solution was not to navigate in the Load event.

On Sun, 09 Jan 2005 10:12:06 -0600, Les Caudle <(E-Mail Removed)> wrote:

>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?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening MDI Child From MDI Child Form, like VisStudio Start Page Jenbo Microsoft Dot NET Framework Forms 1 7th Mar 2007 08:59 PM
MDI child, Overriden WndProc function and hidden child form sshuangw@yahoo.com Microsoft Dot NET 0 18th Oct 2005 05:05 PM
AxWebBrowser hangs during navigation.. SPG Microsoft C# .NET 1 21st May 2004 02:37 PM
A problem to opem MDI child form from another MDI child form Herfried K. Wagner [MVP] Microsoft VB .NET 2 26th Dec 2003 09:30 PM
Problem with AxWebBrowser on an MDI Child Scott Microsoft VB .NET 0 14th Sep 2003 02:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:57 AM.