********************************************************** ** Ramani's FoxPro Pages - Form to display PDF files. ********************************************************** ** Author : Ramani (Subramanian.G) ** FoxAcc Software / Winners Software ** Type : Freeware with reservation to Copyrights ** Warranty : Nothing implied or explicit ********************************************************** ** I used PDF reader ver 6.0. ** Should work with earlier versions also ** If necessary change suitably in the line ... ** ADD OBJECT olecontrol1 AS olecontrol WITH ; ** OLEClass = "PDF.PdfCtrl.5" ********************************************************** PUBLIC oform1 oform1=NEWOBJECT("form1") oform1.Show RETURN ********************************************************** DEFINE CLASS form1 AS form DoCreate = .T. Caption = "pdfForm" Name = "Form1" ADD OBJECT cmdfile AS commandbutton WITH ; Top = 12, ; Left = 12, ; Height = 27, ; Width = 144, ; Caption = "Select File", ; Name = "cmdFile" ADD OBJECT cmdexit AS commandbutton WITH ; Top = 12, ; Left = 168, ; Height = 27, ; Width = 84, ; Caption = "E\