WebBrowser - forward and back buttons

I have created a form that uses the WebBrowser control.  Is there a way to code for a back and forward button?  Off hand, I think I would have to store the URL information somewhere, then navigate to the correct web page, depending on which button was pressed.

Has anyone done this before?  Can you give me some sample code to make this work?

Thank you!
LVL 1
Agent909Asked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
I think the WebBrowser control has GoForward() and GoBack() methods that you can call.
0
 
Agent909Author Commented:
It works great!  Thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.