Opening pdf file at bookmark from visual basic 
Author Message
 Opening pdf file at bookmark from visual basic

I am trying to open a local pdf file at a bookmark from Visual Basic
and have not found a method that seems to work.  I have tried the
following:

1) Using ShellExecute.  This seems to work as long as I am opening a
remote file.  If the file is local, it opens to the first page.  I
cannot seem to navigate to the bookmark programmatically.

2) Using Pdf.LoadFile.  I am using the version of the ocx file from
version 4.0.  When I execute LoadFile, Acrobat initializes, but it
never displays the file.  (I don't know what happens because I don't
get an error message.  However, if I print the return value, it is
-1.)  This may be pointless because I don't see a method for
navigating to a bookmark once I load the file.

Any help with this would be greatly appreciated.

Thanks,
Steve Bray



Mon, 17 Nov 2003 12:11:35 GMT  
 Opening pdf file at bookmark from visual basic

Quote:

>I am trying to open a local pdf file at a bookmark from visual basic
>and have not found a method that seems to work.

The supported method (if you are using Acrobat Reader) is to use DDE.
----------------------------------------

Please support usenet! Post replies and follow-ups, don't e-mail them.


Mon, 17 Nov 2003 15:52:24 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Open Secure PDF file in Visual Basic /w parameters

2. Help:(Immediate) Reading Pdf (acrobat reader) files from Visual Basic

3. Printing an Adobe PDF file from Visual Basic

4. How to show .pdf-files in Visual Basic?

5. Print PDF files using Visual Basic

6. Opening a PDF file w/o opening acrobat first

7. Converting Word BookMarks to PDF Files

8. Converting Word RTF Files with Bookmarks to PDF Forms

9. Positioning .PDF file at specified bookmark?

10. visual basic default Project Opening File Location

11. Visual Basic 5.0 and Opening Files

12. help opening dbf files in visual basic

 

 
Powered by phpBB® Forum Software