I want to open an existing PDF file using OLE automation.
I have built a project which allows the user to open Word and Excel templates.
I am using the following code to open Word/Excel:
Dim wordApp as Word.Application
Dim wordDoc as Word.Document
wordApp = New Word.Application
wordApp.Visible = True
wordDoc = wordApp.Documents.Add
I would ideally like the reference needed as well as the code to access the pdf file.