for i = 1 to num
webbrowser.goback
next i
The problem is that this loses the history of all the pages in between the
current page and the page we are jumping to.
I even tried:
for i = 1 to num
webbrowser.goback
doevents
next i
This keeps the history intact, but all the pages appear on the browser
one-by-one!
Any ideas?
Thanks,
Elan
Now you have the URL you want to go to, and can call Navigate.
Regards,
Murali Krishna Devarakonda
if you back num step, you only need call like this:
COleVariant var = (short)num;
back(&var);
But I don't know how to find history's content, thanks.
Regards.
I'm not sure what you mean by that. You can create Back/Forward buttons with
Dropdowns, just like in IE4.
You must be able to identify how far Back or Forward in history the user
wants to go.
Admittedly, calling Navigate again is not identical to going Back, as in
IE4.
Any other suggestions will be appreciated.
Regards,
Murali Krishna Devarakonda
Exactly, this is the problem! It shows up especially in frames. If you do a
navigate, then it replaces the entire frameset, while a back goes to the
previous page you viewed in the frameset. This is why it is important to me
to use back and forward.
Any other ideas?
Thanks,
Elan
frmWorkSpace.WebBrowser.Document.parentWindow.history.go(-num)
Good luck,
Elan
Elan Dekel wrote in message ...
Does anyone know how to do this in J++, the getDocument method returns an
Object. This probably needs casting to something but what ?
Nathan