>I have a table containing details about items and filename of its picture in a table, e.g.
>
>
>Item Filename
>PC C:\Cat\PC.jpg
>Disk C:\Cat\Disk.jpg
>Printer C:\Cat\Printer.jpg
>
>The user will select the records from this table and I have a subset of the above table in another table (ToPrint.dbf)
>
>I want to print these pictures using FoxPro report (or any other way). Any suggestions how should I proceed?
>Thanks.
>
>- Ravi
declare long ShellExecute in "shell32.dll" ;
long hwnd, string lpszOp, ;
string lpszFile, string lpszParams, ;
string lpszDir, long nShowCmd
ShellExecute(0,'Print','blah blah.jpg','','',1)
Should do it (didn't try).
Way 2:
Create an htm file with references to files in it. Browser has print button.
Way 3:
Create a VFP report with an OLEBOUNDControl in it. Set expression to:
(FileName)
Cetin