View Full Version : url address vb
craig06
03-25-2008, 12:25 PM
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
Master_script_maker
03-25-2008, 12:29 PM
please show your code so we can help you
craig06
03-25-2008, 12:34 PM
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
craig06
03-25-2008, 01:33 PM
take it no one want to help lol
Master_script_maker
03-25-2008, 02:54 PM
You Have To Update the text every time a link is clicked. Try
Private Sub Wweb_Navigate()
cbourl.Text=Wweb.url
End Sub
Also, what version are you using?
craig06
03-25-2008, 03:02 PM
You Have To Update the text every time a link is clicked. Try
Private Sub Wweb_Navigate()
cbourl.Text=Wweb.url
End Sub
Also, what version are you using?
using vb 6
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.