🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.reader
Article #1998

VB6 WebBrowser do not show same pdf with different page

#1998
From: Alberto_Caielli
Date: Fri, 09 Jan 2009 15:31
23 lines
1290 bytes
Hi,
I experienced this problem with VB6 code:

webbrowser1.navigate "one.pdf#page=1" ' #1
...
webbrowser1.navigate "one.pdf#page=2" ' #2
...
webbrowser1.navigate "two.pdf#page=1" ' #3
...
webbrowser1.navigate "one.pdf#page=2" ' #4

The statement #2 do not load the document in the webbrowser control,
it shows a blank window.
I have to change the document with statement #3 and only then,
the statement #4 shows the second page as needed.
It seems that there is a sort of "cache" of the Acrobat reader
that should be disabled.

Any whise man have a cue on this strange behaviour?
I'll have to call some other webbrowser methods?
Thanks in advice!

By the way, frequently the VB6 IDE and my program crash during debug.
Technical Details
Message-ID: <59b77874.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,6f09522b500cde30,start
X-Google-Attributes: gid10273d,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alberto_Caielli@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.reader
Subject: VB6 WebBrowser do not show same pdf with different page
Message-ID: <59b77874.-1@webcrossing.la2eafNXanI>
Date: Fri, 9 Jan 2009 07:31:16 -0800
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit