Solved

WebBrowser - forward and back buttons

Posted on 2010-11-17
2
513 Views
Last Modified: 2012-05-10
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
Comment
Question by:Agent909
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 34157223
I think the WebBrowser control has GoForward() and GoBack() methods that you can call.
0
 
LVL 1

Author Closing Comment

by:Agent909
ID: 34157291
It works great!  Thank you!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Several part series to implement Internet Explorer 11 Enterprise Mode
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question