473,387 Members | 1,844 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.

Navigate AxWebBrowser in C#

Hello,

Can someone help me. I use Web Browser in my windows form to display html document using flash and javascript, the problem is that not I canot navigate trought all pages of the flash . Then I decided to use AxWebBrowser and wrote
AxWebBrowser webBr = new AxWebBrowser();
form.Controls.Add(webBr);
form.Activate();
webBr.Dock = DockStyle.Fill;
webBr.Parent = form;
webBr.Navigate(@fileName);
, but there is an exception telling "'System.Windows.Forms.AxHost+InvalidActiveXStateE xception' was thrown" on the folloing line
webBr.Navigate(@fileName);

Can you please help me to solve this problem
Aug 22 '07 #1
2 2059
JosAH
11,448 Expert 8TB
Hello,

Can someone help me. I use Web Browser in my windows form to display html document using flash and javascript, the problem is that not I canot navigate trought all pages of the flash . Then I decided to use AxWebBrowser and wrote
AxWebBrowser webBr = new AxWebBrowser();
form.Controls.Add(webBr);
form.Activate();
webBr.Dock = DockStyle.Fill;
webBr.Parent = form;
webBr.Navigate(@fileName);
, but there is an exception telling "'System.Windows.Forms.AxHost+InvalidActiveXStateE xception' was thrown" on the folloing line
webBr.Navigate(@fileName);

Can you please help me to solve this problem
You posted your question in the wrong section; I'll move your question to the .NET
Forum section.

kind regards,

Jos
Aug 23 '07 #2
Plater
7,872 Expert 4TB
Well I don't seem to have that object but, it looks like you're trying to use it before it's ready to be used.
Aug 23 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Clint MacDonald | last post by:
I have used the AxWebBrowser in a Visual Basic Project...with some success but some buggy things... I found that both Framework 1.0 and 1.1 had to be installed for it to work properly. ...
3
by: guy | last post by:
Hi all - And apologies if I'm in the wrong newsgroup. I'm a newbie here and I'd certainly appreciate any pointers to the right forum. To the point... We're running a WebBrowser object...
4
by: Martin Ho | last post by:
Hey Everyone, I really hope there is someone who can figure out this problem. Honestly, I spent 3 days now trying to find the solution, but nothing works. I'll try to explain the problem...
0
by: travisGatesMcGee | last post by:
For days and days, I have been trying to see a URL's parsing in a DOM tree (links collection, images and other DHTML elements) in Visual Basic......... Total Disaster!!!!!!!!!! Way too many...
0
by: Matthias Kwiedor | last post by:
I have a aplication which hosts an axWebbrowser. This activex component needs about 10 to 15 mb of memory. Because i have a option to move the aplication to tray icon and do some timer work i...
7
by: Doe | last post by:
Okay, I've given up on using the "new" WebBrowser in 2005 to do what I want to do -- tabbed browsing. It seems I really need RegisterAsBrowser and Application to get each instance of a browser...
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...
8
by: =?Utf-8?B?Q29kZVJhem9y?= | last post by:
I am hosting a web application within a windows form using MsHtmlHstInterop.dll. I am opening the web browser window using: object flags = 0; object targetFrame = String.Empty; object...
0
by: layesh | last post by:
Hey i made a browser with the AxShDocVw.AxWebBrowser.Navigate method for client side that will request to the server for a specific page on my web application. But before respond to that client the...
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.