frm = CreateObject('form1', fullpath_filename) frm.show() Read Events *------------------------------------------ * Control installed by Acrobat Reader 6.0 DEFINE CLASS form1 AS form Top = 5 Left = 5 Height = 445 Width = 565 Caption = "PDF Viewer ActiveX" Name = "Form1" WindowType=0 ADD OBJECT acrobatviewer AS olecontrol WITH ; Oleclass = "PDF.PdfCtrl.6", ; Name = "AcrobatViewer" PROCEDURE Init LPARAMETERS pFile WITH this.AcrobatViewer .Top = 0 .Left = 0 .Height = this.Height/2 .Width = this.Width/2 .loadfile(pFile) ENDWITH endproc PROCEDURE Destroy Clear Events ENDPROC ENDDEFINE>Hi All,