Ask about manipulating travel log.
- From: "yuzhu.shen" <yuzhu.shen@xxxxxxxxx>
- Date: Sun, 20 Apr 2008 00:48:46 -0700 (PDT)
Hi,
When I was using the travel log of WebBrowser control (via
ITravelLogStg, IEnumTravelLogEntry, etc.), I got into some problems.
The following is a case (you can try it in IE and examine its back/
forward list):
Action Log entries after the action.
(retrieved from IEnumTravelLogEntry)
==========================================================
1) Navigate to page A. ( log_entry_A )
2) Navigate to page B. ( log_entry_A
log_entry_B_1)
3) Make a subframe navigation in page B. ( log_entry_A
log_entry_B_1 log_entry_B_2)
4) ITravelLogStg::TravelTo(log_entry_A) ( log_entry_A
log_entry_B_2)
Please note that the travel log entries for navigation in page B
collapse, leaving only the last entry we have been in page B. [ It is
not necessarily the last one that is created for page B, for example,
if we travel back to log_entry_B_1 before step (4), then the list
would become (log_entry_A log_entry_B_1) ].
5) At this time, ITravelLogStg::TravelTo(log_entry_B_1) will fail,
even we know that this log entry is existent. The possible way to
travel to log_entry_B_1 is:
ITravelLogStg::TravelTo(log_entry_B_2), which will make the log
entry list expands to ( log_entry_A log_entry_B_1 log_entry_B_2);
and then ITravelLogStg::TravelTo(log_entry_B_1).
My question is:
In step (5), is it possible for me to travel directly to
log_entry_B_1?
Could I gain more control of the travel log? The ITravelLogStg,
IEnumTravelLogEntry interfaces seem limited.
Could I persist travel log entries? For example, into strings?
Thanks very much!! :)
.
- Prev by Date: Re: How I can show the scrollbar as needed?
- Next by Date: Can i use WinHTTP with WinINet in the same process?
- Previous by thread: handle mouse click event and select the text
- Next by thread: Can i use WinHTTP with WinINet in the same process?
- Index(es):
Relevant Pages
- Re: Travel Log in VB.NET or C#
... "josephxxv" wrote in message ... > How can I get access to the Travel
Log in the WebBrowser Control? ... > have attempted to implement the ITravelLogStg,
... (microsoft.public.inetsdk.programming.webbrowser_ctl) - Travel Log in VB.NET or C#
... How can I get access to the Travel Log in the WebBrowser Control? ...
attempted to implement the ITravelLogStg, ... IEnumTravelLog interfaces with no
success. ... (microsoft.public.inetsdk.programming.webbrowser_ctl)