Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function ReadPDF(ByVal sFile As String) As Boolean
Dim oDoc As Object ' Acrobat.CAcroPDDoc
Set oDoc = CreateObject("AcroExch.PDDoc")
With oDoc
If .open(sFile) Then
msFileName = .GetFileName
mnNumPages = .GetNumPages
mnPageMode = .GetPageMode
msTitle = .GetInfo("Title")
msSubject = .GetInfo("Subject")
msAuthor = .GetInfo("Author")
msKeywords = .GetInfo("Keywords")
msCreator = .GetInfo("Creator")
msProducer = .GetInfo("Producer")
.Close
ReadPDF = True
Else
ReadPDF = False
End If
End With
Set oDoc = Nothing
End Function