Results 1 to 6 of 6

Thread: url address vb

  1. #1
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default url address vb

    i have started coding a web browser in vb but i can not work out how to show the full url. at the moment it only shows the index such as www.myspace.com

    i want it to show the rest of the url such as www.myspace.com/search

    any idea

  2. #2
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    please show your code so we can help you
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@§†ê® §©®¡þ† /\/\@|{ê®
    There are 10 kinds of people in the world, those that understand binary and those that don't.

  3. #3
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    its really basic at the moment am buliding it up


    private Sub cbourl_Change()

    If KeyCode = vbKeyReturn Then
    Wweb.Navigate cbourl.Text
    End If


    End Sub

    Private Sub cmdback_Click()
    Wweb.GoBack
    End Sub

    Private Sub cmdforward_Click()
    Wweb.GoForward
    End Sub

    Private Sub Cmdgoogle_Click()
    Wweb.Navigate "www.google.co.uk"
    End Sub

    Private Sub cmdhome_Click()
    Wweb.GoHome

    End Sub

    Private Sub cmdgosearch_Click()
    Wweb.Navigate cbourl.Text



    End Sub

    Private Sub cmdrefresh_Click()
    Wweb.Refresh
    End Sub

    Private Sub cmdstop_Click()
    Wweb.Stop
    End Sub


    Private Sub Form_Load()


    Wweb.Navigate "www.msn.com"



    End Sub

  4. #4
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    take it no one want to help lol

  5. #5
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    You Have To Update the text every time a link is clicked. Try
    Code:
    Private Sub Wweb_Navigate()
    cbourl.Text=Wweb.url
    End Sub
    Also, what version are you using?
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@§†ê® §©®¡þ† /\/\@|{ê®
    There are 10 kinds of people in the world, those that understand binary and those that don't.

  6. #6
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Master_script_maker View Post
    You Have To Update the text every time a link is clicked. Try
    Code:
    Private Sub Wweb_Navigate()
    cbourl.Text=Wweb.url
    End Sub
    Also, what version are you using?


    using vb 6

Bookmarks

Posting Permissions

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