Web Browser in Visual Basic
Hey guys I'm new to the VB forums and I need help with making my Web Browser in Visual Basic. I've set up the address bar so that when you type in it and click the Go button or press enter then it loads it in the browser but if you navigate after loading a page the address bar doesn't display the current website you're on. I'm just wondering how you make the address bar always display the page you're currently viewing?
Thanks
Re: Web Browser in Visual Basic
Is this VB6 or VB.NET? You'll need to ask a mod to move this for you depending on your answer.
Re: Web Browser in Visual Basic
VB6 I think, It's on my other computer and I can't remember what it is sorry. But does that change the answer?
Re: Web Browser in Visual Basic
Welcome to VBForums :wave:
It changes things rather dramatically.. unfortunately there are several different things which are known as "VB", and they have big variations - worst of all, VB6 isn't necessarily VB6, it might actually be VBA. If you go to "Help"->"About", what is the number shown? (eg: Visual Basic 6.0)
Re: Web Browser in Visual Basic
Never mind I got it :D
Code:
AddressBar.Text = WebBrowser.Url.Absoluteuri
Thanks anyway