O$: Studio 5 store & display pdf files

Geert Landuyt geert.landuyt at justsoftware.be
Thu Mar 26 10:59:28 EDT 2015

1) Using Frontbase database, but a BLOB column type

2) On MacOS X you can use the quicktime movie player control, use $loadmovie(thePath) 
On Windows there is the PDF reader component, use $loadfile(thePath)  also a zoom available here

3) On MacOS X we use Applescript   tell application "Finder" open "xxxx"  end tell
On Windows we use the Register DLL and Call DLL shell32.dll to open the document


> On 26 Mar 2015, at 15:51, Jim Pistrang <jim at jpcr.com> wrote:
> Hi all,
> Hope everyone is doing well.  Foggy gray day here, but the snow is melting!
> I have a client-server app running in Studio 5 against an Oracle database.  The client is interested in storing and displaying PDF files, and I have a few questions I'm hoping someone can help with:
> 1) Can I store PDF files in Oracle as a BLOB type?  If so, what do I need to do to insert and extract via a Studio interface?
> 2) Can I display PDF files in an Omnis window?    If so, how?
> 3) If I want Omnis to display a pdf file externally (Preview on a Mac, ??? on Windows) can I do this from Studio 5?  If so, what is the syntax?
> Thanks,
> Jim
> --
> Jim Pistrang
> JP Computer Resources
> 413-256-4569
> <http://www.jpcr.com>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com

More information about the omnisdev-en mailing list