473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

axWebBrowser hangs in MDI child form?

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
Nov 16 '05 #1
1 1754
solution was not to navigate in the Load event.

On Sun, 09 Jan 2005 10:12:06 -0600, Les Caudle <ve**@tiredofspam.com> 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?


Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: SPG | last post by:
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,...
3
by: Clint MacDonald | last post by:
I have used the AxWebBrowser in a Visual Basic Project... I found that both Framework 1.0 and 1.1 had to be installed for it to work properly. I now have found that in Studio 2003, that the...
0
by: Scott | last post by:
Hi All, I'm fairly new to VB.NET so I don't know if this is me or what, if I drop a AxWebBrowser COM control on an MDI Child form, and run the program, it appears to lock up as it's loading the...
7
by: Pi | last post by:
I have an MDI parent with one or more children forms. Each child form has an engine thread that processes data. The child form's _Closing event is roughly 01 Private Sub...
1
by: Pi | last post by:
I have an MDI parent with one or more children forms. Each child form has an engine thread that processes data. The child form's _Closing event is roughly 01 Private Sub...
6
by: Dave Booker | last post by:
It appears that I cannot correctly install the AxWebBrowser in VS2005. I can instantiate an "AxWebBrowser browser" and refer to its members, properties, and methods. I'm having trouble with the...
0
by: elphantasmo | last post by:
Hi, I have created a hosted AxWebBrowser control and I handle the NewWindow2 event to open new windows in my own forms. Our application accesses a JSF (Java Server Faces) backend with some...
3
by: nonstopkaran | last post by:
hey i am handling a small application, it is running well. but very rarely it hangs... (i.e) loggin page itself will take more than 10m and the response will be very very slow. config: ...
1
by: tim2006 | last post by:
When i try to run the program, it just hangs. If i remove the axwebbrowser control it works fine. Any ideas? Here is my code: class1.vb Imports System.Windows.Forms Imports...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.