Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: Ulhas Amrite
  Where is Ulhas Amrite?
 Pune
 India
 Ulhas Amrite
 Tags
Subject: RE: display a PDF document
Thread ID: 143130 Message ID: 143150 # Views: 2 # Ratings: 1
Version: Visual FoxPro 6 Category: Forms
Date: Saturday, August 25, 2007 11:02:08 AM         
   


> Hi friends,
> Can I display a PDF document in a form?
>
> Regards,
>
> Ulhas Amrite

local lcPDF
lcPDF = getfile('PDF')

Public oForm
oForm = NewObject('HTMLViewerForm')
oForm.Show
oForm.htmlviewer.navigate2(m.lcPDF)

Define Class HTMLViewerForm As Form
  Height = 500
  Width = 800
  Add Object htmlviewer As OleControl With ;
    Height = 500, Width = 800, Visible = .T., ;
    OleClass = 'Shell.Explorer', anchor=195

  Procedure htmlviewer.Refresh
    Nodefault
  Endproc
Enddefine


Cetin Basoz

ENTIRE THREAD

display a PDF document Posted by Ulhas Amrite @ 8/25/2007 6:24:16 AM
RE: display a PDF document Posted by NOUHAD ABOUCHAKRA @ 8/25/2007 6:44:34 AM
RE: display a PDF document Posted by Ulhas Amrite @ 8/25/2007 7:46:08 AM
RE: display a PDF document Posted by Cetin Basoz @ 8/25/2007 11:02:08 AM