Visual Programmer

I am trying to make a web browser inside of a program, and i want it to have a homepage what is the code for it and what does the code go under




Re: Visual Basic Express Edition web browser home page

I Luv Visual Basic 2005 E.E.

is there any code for a hompage






Re: Visual Basic Express Edition web browser home page

js06

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim homepage As String = "www.yourhomepage.com"

Me.WebBrowser1.Navigate(homepage)

End Sub






Re: Visual Basic Express Edition web browser home page

Martin Xie - MSFT

Hi ILuv,

Jeff gave you the answer.

You need to use the WebBrowser control in the Toolbox. It enables the user to navigate Web pages inside your form.

The WebBrowser control has several properties, methods, and events related to navigation. The following members let you navigate the control to a specific URL, move backward and forward through the navigation history list, and load the home page and search page of the current user:

http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx

If we misunderstood you, please let us know.

Thanks,

Martin