Results 1 to 6 of 6

Thread: [2008] Code Issue

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2008
    Posts
    17

    [2008] Code Issue

    Hi all. I am creating a web browser as we know. I have decided to go form a textbox for the URL input to a combobox but the code change was not as simple as it seemed. So here is my entire coding for the browser. It has the text box1 in it and I would like to know what codeing is needed for the combobox to work. Thanks.

    Code:
    Public Class Form1
        'Code for Go button
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            WebBrowser1.Navigate(TextBox1.Text)
    )
    
        End Sub
    
        Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
    
        End Sub
    
    
        'Code for back button
        Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
            WebBrowser1.GoBack()
        End Sub
        'Command for stop button
        Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
            WebBrowser1.Stop()
        End Sub
        'Command for forward buttom
        Private Sub forward_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles forward.Click
            WebBrowser1.GoForward()
        End Sub
        'Code for home button
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            WebBrowser1.GoHome()
        End Sub
        'Code for browser screen
        Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
    
        End Sub
        'Code for refresh button
        Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
            WebBrowser1.Refresh()
    
        End Sub
    Last edited by colsie; Feb 3rd, 2008 at 03:32 PM. Reason: title stated cod

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width