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.
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.