tselectro
asked on
Open a pdf file and display a specific page in the document
Hi,
I am trying to open a pdf document and automatic display the page number xx.
From the command shell, following syntax do exactly what I want:
acrord32.exe /A "page=3" c:\pdftest.pdf
In VB/VBA I try to use the ShellExecute api function:
Call ShellExecute(Me.hwnd, "Open", "c:\pdftest.pdf", "page=3", "", SW_SHOWNORMAL)
The api function display the pdf file, but does not "jump" to page 3. Is it possible to use the ShellExecute function, or can this be done in other way?
I am trying to open a pdf document and automatic display the page number xx.
From the command shell, following syntax do exactly what I want:
acrord32.exe /A "page=3" c:\pdftest.pdf
In VB/VBA I try to use the ShellExecute api function:
Call ShellExecute(Me.hwnd, "Open", "c:\pdftest.pdf", "page=3", "", SW_SHOWNORMAL)
The api function display the pdf file, but does not "jump" to page 3. Is it possible to use the ShellExecute function, or can this be done in other way?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
ASKER