Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27360

set webbrowser home page

$
0
0
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 27360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>