Right click on the toolbox. Select components. When another form pops up scroll to about the middle and search for Microsoft Internet Controls. Once there is a check by it hit Ok. Place the webbrowser on your form. Now add a command button to your form. Double click it then add the following line of code.