Solved

Is Microsoft's WebBrowser Object the same as IE ?

Posted on 2004-08-20
1
263 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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