I am using a shell execute to open a pdf. How do I open the pdf to a certian page? I read that you can use the setcurrentpage property. How do you use this. In my module I have a public function and then on my form in my flexgrid I call the function.
VB Code:
Public Function OpenPDF(ByVal pdf As String) As Long OpenPDF = ShellExecute(0&, vbNullString, pdf, vbNullString, vbNullString, vbNormalFocus) End Function Private Sub MSFlexGrid1_Click() OpenPDF (App.Path & "\" & "Howe Vol 2.pdf") End Sub




Reply With Quote