
July 21st, 2005, 08:09 AM
|
|
Registered User
|
|
Join Date: Jul 2005
Posts: 1
Time spent in forums: 16 m
Reputation Power: 0
|
|
web browser "back" button
Afternoon all. I am putting together a small web browser application and I have a problem with the "back" button. If I navigate to a website then click back twice I get an error (can't remember at the moment what the error message was). I think it is happening because there is no site to navigate "back" to. So what I really want to know is how would I say "if there is no site then disable the back button"?
I tried and it didn't work:
if wb_browser.navigate = false then
cmd_back.enable = false
else
wb_browser.navigate (URL)
end if
I've not used VB in a few years and I expect this is really simple so I appreciate any light you can shed on this.
Cheers,
CaptainChainsaw 
|