Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
History.Back
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00337277
Message ID:
00337398
Views:
16
>>Hi, I´m using OLE automation to automate some queries made in the Web. Now I need to know how to go back to a previous page. I don´t know how to use window.history.back... I created a loIE object.
>>
>
>The InternetExplorer.Application object has a GoBack method. From the MSDN Library:

>Web Workshop | Reusing Browser Technology
>GoBack Method
>
>--------------------------------------------------------------------------------
>
>Navigates backward one item in the history list.
>
>Syntax
>
>object.GoBack
>Parameters
>
>object
>Required. An object expression that evaluates to an object in the Applies To list.
>Remarks
>
>During a browsing session, the WebBrowser control and Microsoft® Internet Explorer application maintain a history list of all Web sites visited during a session (unless you specify the NAVNOHISTORY flag when using the Navigate method). Use the CommandStateChange event to check the enabled state of backward navigation. If the event's CSC_NAVIGATEBACK command is disabled, the beginning of the history list has been reached and the GoBack method should not be used.
>Applies To
>
>InternetExplorer, WebBrowser
>See Also
>
>GoForward, GoHome, GoSearch, Navigate, CommandStateChange

Thanks.
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Previous
Reply
Map
View

Click here to load this message in the networking platform