Starting Microsoft Excel from FP w/data

Kenneth Brody kenbrody at bestweb.net
Wed Aug 2 11:48:49 PDT 2006


Quoting Richard Tartaglia (Wed, 2 Aug 2006 11:32:06 -0700 (PDT)):

> Hi Everyone
>
> I hope it is cool where you are because it is hot as
> heck here.

Our outside thermometer is currently reading 102F.

> I have a small menu within filepro that lets me put a
> scanned file into a BLOB.
> I then export the BLOB file to a temp directory to
> look at it. The exported file has a JPG extension.
>
> I can open the program to look at the file from within
> filepro with a system call.
>
> The question is – can I do the system call to open the
> windows paint program or any other and have it open
> the document.
>
> FP 5.0.14 running on windows

I'm not sure what this has to do with Excel, but you can start the
default application for JPG files on your system by simply running:

    system "start " < path_to_jpg_file

Or, to use a specific application:

    system "start mypaintprog" < path_to_jpg_file

You may need to pass flags to the program to tell it that you want
to open the file.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list