0 Replies Latest reply on Jan 9, 2009 7:31 AM by (Alberto_Caielli)

    VB6 WebBrowser do not show same pdf with different page

      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.