Click here to Skip to main content
15,881,281 members
Articles / Programming Languages / Visual Basic
Article

A look at using IE in visual studio.net 2003 with Visual Basic.NET

Rate me:
Please Sign up or sign in to vote.
3.67/5 (3 votes)
26 Dec 20062 min read 30.4K   930   19   3
Internet Explorer Clone in VB.NET

Sample Image - IEClone.gif

Introduction

This is an example application I wrote several years ago and never posted to the code project, with the realease of Visual Studio 2005 this past year and the inclusion of a browser control with VS2005, I have been getting alot of emails asking if I plan on doing an article or project highlighting the use of the new control. Good news there, I am working on a project that I have to use the control in and hopefully will allow me put something together using the new control to share with everyone. In the meantime I thought I would release this older code here on code project, you will find with some tweaking most of this code will work with the new browser control. Keep in mind that new control is a wrapper around the SHDocVW (internet explorer control) and basically exposes some (not all) of the features available in IE, some is easier to do, other stuff you will have to reference the control to accomplish. In the new article I hope to find time for I have not had to reference the com object in the project, instead loading it at runtime when needed and then releasing it. Please keep in mind as you look into this code that it is several years old and was thrown together mainly for a friend who was assigned a project that required browsing features and was loosely based on a project I had just previously written in VB6 and was looking into porting it to .net. To make the example code run either download the demo project and extract the 2 com objects to the bin folder or search for SHDocVW.DLL on your pc and copy that to the projects bin folder.

I hope you find this re-release useful.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
I have played various roles in IT since around 1993 when I began writing commercial web pages. I then moved to mainly coding in Visual Basic around 1995, making point of sale and kiosk systems, more recently moving to e-commerce and crm applications. Since the release of .net I have been mainly working in .net focusing in vb.net although I have done several projects in c#. I have worked for various companies and have held the position of lead developer at several, recently (2005) leading the e-commerce team at a national retailer to a successful e-commerce implementation. I currently hold comptia a+, network plus, mcp, mcsa, mcse (server system 2003) and mcsd certifications. I enjoy sharing what I have learned as well as embracing new technologies as they are released.

Comments and Discussions

 
GeneralTechConnect - Tabbed, Multi-engine Browser expansion Pin
amb980029-Dec-06 3:22
amb980029-Dec-06 3:22 
GeneralRe: TechConnect - Tabbed, Multi-engine Browser expansion Pin
tmaxwell0729-Dec-06 5:31
tmaxwell0729-Dec-06 5:31 
GeneralRe: TechConnect - Tabbed, Multi-engine Browser expansion Pin
Vivek Narayanan3-Sep-07 6:12
Vivek Narayanan3-Sep-07 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.