Hi ,
im starting a new program and im stuck already lol , im using a webbrowser control , when i open a new window i cant seem to get the new window to navigate to a different webpage. Heres my current code.
Code:Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("http://www.playstationevents.com/mainforum/index.php?action=forum") WebBrowser1.ScriptErrorsSuppressed = True End Sub Private Sub Fifa10ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Fifa10ToolStripMenuItem.Click Dim new_window As New Form1 new_window.WindowState = FormWindowState.Normal new_window.Show() End Sub End Class




Reply With Quote