im not really having a problem making a new form so much as having a problem putting the tools on it, heres what i have
Dim screensaver As New Form Dim back As New Button Dim forward As New Button Dim internet As New WebBrowser Dim refresh As New Button Dim sto As New Button Dim home As New Button Dim close As New Button Dim restart As New Button Dim addressbar As New TextBox If TextBox3.Text = "internet" Or TextBox3.Text = "Internet" Then screensaver.Show() screensaver.Height = 750 screensaver.Width = 750 screensaver.FormBorderStyle = Windows.Forms.FormBorderStyle.FixedSingle screensaver.MaximizeBox = False screensaver.Contains(internet) internet.Show() internet.Height = 700 internet.Width = 700 internet.Navigate("www.google.com") End If
vb doesnt say i have an error or anything like that, but i cant create "internet". i can create the form but cant put any of the components on it. can anyone possibly give me a hand?