General information
Category:
COM/DCOM and OLE Automation
Jose
Another kind of round about (but easy to code and control method) is to put the MS Internet Explorer ActiveX on a form, and set it's INIT code to something like
this (the oleWB is the name I gave to the OLE Control)
THISFORM.oleWB.Navigate('file://C:/SOURCE/VFP6/POSTMGR/VER32062/i-9.pdf')
ThisForm.oleWB.setfocus() && Hides unwanted scrollbar
Thisform.oleWB.Setfocus() && Some object to get focus from browser
Of course, you can substitute the path/file of the first line of code with anything you want to view/print.
Also, you do need Adobe Acrobat Reader installed, but not the full Adobe Acrobat.
By the way, this works for almost any file types - animated GIFs, etc.
Hope this helps.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only