• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 531
  • Last Modified:

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!
0
Agent909
Asked:
Agent909
1 Solution
 
Carl TawnSystems 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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now