Solved

Is Microsoft's WebBrowser Object the same as IE ?

Posted on 2004-08-20
1
268 Views
Last Modified: 2010-04-23
Hi there,

In VB.NET, is Microsoft's WebBrowser Object the same as IE ?  

The object is listed as type "AxSHDocVw.AxWebBrowser".

In this article from VB5 http://www.microsoft.com/mind/0898/dom.aspunder the section Accessing the Document Object Model second bullet point  states that it is.  I know it might be old info.  That's why I'm asking.

I would like to know if that object has the same functionality as IE in processing things like cookies, https, etc.  Will it do anything that IE can do ?  Or are there things that it cannot do that IE will ?  I cannot imagine it being the other way around where the web browser object can do more than IE.

Can anyone explain the differences between IE and this object (or point me in the right direction) ?

Thanks,

John
0
Comment
Question by:trzesniakj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
Daniellus83 earned 500 total points
ID: 11854093

The AxSHDocVw.AxWebBrowser where you are talking about is an object wich is not so all-having as IE explorer. You can use it 2 ways:

1) Many people use this object (library) to make e.g. Toolbars (like the Google toolbar) to communicate with the browser (their host) . Thats why you can say this should be on the level of settings etc the same. You can instruct the browser to navigate or catch event (like NavigateComplete) etc.

2) The other one (you mention) is the browser function inside a window.forms application. This is not exactly like explorer. You mentioned:


* Cookies: they are member of the System.Net.HttpWebRequest Class. So if you want to have cookies etc. You have to do a little programming yourself...

---(a search in the Object browser of VS.Net 2003 gives:)-----------------------------------------

     Public NotInheritable Class Cookie
          Inherits System.Object
     Member of: System.Net

     Summary: Provides a set of properties and methods used to manage cookies.  
-----------------------------------------------------------------------------------------------------------

* HTTPS: This is also not included in the Webbrowser Component.

To handle https, you need also use the System.Net for certificates:  System.Net.ServicePoint(Manager).


You see these 2 think you mentioned are not part of the IE browser component. But thats not stupid: these items aren't used by IE only... So you are right on  the point that IE does more, but it will be possible to program something like IE. I don't think you will not be able to something IE can; But it would take more coding to build something like it than just using the component!


Hope this has informed you enough. Succes on you project if you have one.

Daniël
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question