Visual Basic 2008 Tutorials: Part 3, Creating a Webbrowser
Uploader Comments (mrmandude1121)
All Comments (37)
-
your if e.keycode doesn't work with visual studio 2010 can you help me?
-
@Mrmandude1121 how do I change the sound of the browser when I press enter and enter a page?
-
thx =)
-
First: Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventA
rgs) Handles TextBox1.KeyDown Now press enter and enter this part of the coding
If e.KeyCode = Keys.Enter Then wb.Navigate(TextBox1.Text)
End Sub
End Class
-
1 way to view the current url
dim url = webbrowser1.url.tostring()
TextBox1.Text = url
-
Click "The General Combo Box" Go Down And Select Your URL Box whether it be a textbox or a combobox... The click "Declaration Combo Box" And Select KeyDown... Then Put In your code
-
I cannot hear a single thing hes saying
-
whut at 8:31
-
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventA
rgs) Handles TextBox1.KeyDown If e.KeyCode = Keys.Enter Then wb.Navigate(TextBox1.Text) End Sub
at 8:38 I cant tell what you are syaing, it sounds like wb.navigate (TextBox1.get) but that doesnt work what are you saying?
auatarch 3 years ago
wb.navigate(textbox1.text)
Hope that helps
mrmandude1121 3 years ago