WebBrowser control, Forward button never enabled with MSIE 7

Posted on 2009-02-14
Last Modified: 2012-08-13
I have a WebBrowser control with Back and Forward buttons, implemented pretty much as described here:

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

    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

    I never figured this out.  I wound up coding my own forward and back.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
    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…
    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…

    758 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now