loadFile

Load a PDF file from disk.
loadFile([in] BSTR pdfFileName)
This function opens a PDF file, pdfFileName, from disk, and displays its first page.

The loadFile function throws an error if the PDF file cannot be opened.

IMPORTANT: The PDF file on disk must not be deleted or modified until after closeFile is called.

VB6:
viewer.loadFile "c:/test/file.pdf"
loadFileWithPassword
loadStream
loadStreamWithPassword
loadURL
loadURLWithPassword
closeFile