Me and one other person are making a web browser. i have made ver 1.0 but it has a major bug i need to fix. i cant find a way to make this work. can someone please help.
Problam 1
When I press back, and have no more history to go through it pops up an error message and closes the programm i just want it to do nothing and stay on that pager
the code i have used for this is
I sure there is another line of code to stop this but i tried and cant find it
problam 2
The same but with forward
i am so sure there is a simple way of finding this just cant seem to work it out
Any help will be much appriciated thanks
Problam 1
When I press back, and have no more history to go through it pops up an error message and closes the programm i just want it to do nothing and stay on that pager
the code i have used for this is
Code:
webbrowser1.GoBack
problam 2
The same but with forward
Code:
webbrowser1.goforward
Any help will be much appriciated thanks
Comment