Quantcast
Viewing all articles
Browse latest Browse all 27072

set webbrowser home page

Hi, I am noob in vb. just starting to learn. I would like to create a webbrowser window, where there is no button and address bar. all I need is to open a default page, immediately when I open the application, say google.com... here is the code I have used but not working..

Code:

Public Class Form1

    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
        WebBrowser1.Navigate("http://google.com")
    End Sub
End Class


Viewing all articles
Browse latest Browse all 27072

Trending Articles