WebBrowser control, Forward button never enabled with MSIE 7

Posted on 2009-02-14
Medium Priority
Last Modified: 2012-08-13
I have a WebBrowser control with Back and Forward buttons, implemented pretty much as described here: http://support.microsoft.com/kb/811603

Everything works fine on my system, which runs MSIE 6.  Specifically, when I click the Back button, the Forward button is enabled.  

However, client says that on their systems with MSIE 7, the Forward button never gets enabled after a Back.  

Is anyone aware of a change in MSIE 7 to CommandStateChange that might be causing this?
Question by:rexswain
LVL 26

Expert Comment

ID: 23658700
It works for me, Ihave ie7 and 2008

Do you have this line on the top?
Private Const CSC_NAVIGATEFORWARD As Integer = 1
    Private Const CSC_NAVIGATEBACK As Integer = 2

print out the  e.command from AxWebBrowser1_CommandStateChange

Accepted Solution

rexswain earned 0 total points
ID: 23755061
I never figured this out.  I wound up coding my own forward and back.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

850 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