Click here to Skip to main content
15,905,558 members

Comments by mbov (Top 1 by date)

mbov 9-Dec-20 2:38am View    
One note:
The initialization of the axAcroPDF1 has to be completed before the PDFAvailable check, otherwise you'll get a COM Error. If you need to open PDF directly after initialization, End it manually with axAcroPDF1.EndInit()

If you don't check PDFAvailable before actually loading, EndInit() is not needed.