You must change the default application for handling jpegs. In explorer you right click a jpeg file, Open With->Choose program. Make sure to check Always use the selected...
>I run the following command to print out jpeg file from vfp. But windows using WINDOW PHOTO VIEWER to preview it before printing. How can I modify the printing behavior to print only or using another program eg. Acdsee to print it out.
>
>TIA.
>
>
>
>
> DECLARE INTEGER ShellExecute IN shell32.dll ;
> INTEGER hndWin, ;
> STRING cAction, ;
> STRING cFileName, ;
> STRING cParams, ;
> STRING cDir, ;
> INTEGER nShowWin
>
>
> cFileName = "c:\temp\test.jpg"
> cAction = "print"
>
>
> ShellExecute(0,cAction,cFileName,"","",1)
>