Tiff files

Hi gurus

I am very new to VFP, so go easy on me.

I would like to create a tiff file from a report, I dont want to view the tiff file or to open the tiff file once created, once the report runs, I just want to be able to give it a name and to save it on a folder as a tiff file.

Can some help me with some code that I can see and learn or point me to the right direction or let me know where can I find some help on this matter.

Thanks a bunch gurus

OHHH.- VFP9 almost forget

Thanks again gurus



Answer this question

Tiff files

  • Stuart Fraser

    loListener = CREATEOBJECT('ReportListener')

    loListener.LISTENERTYPE = 3

    REPORT FORMAT myReport RANGE 1,1 OBJECT loListener

    loListener.OUTPUTPAGE(1,'c:\quaro.tif',101) && 101 = TIF, 104 = GIF, 102 = JPG, 105 = bmp

    *-- Hope this helps. In my idiot-like manner, You may easily 'outputpage' 101 = TIF, 104 = GIF, 102 = JPG, 105 = bmp.

    *-- Let me know if you'd like HTML files from your reports. This is currently my dreamiest VFP-9 output format (as per Doug Hennig's models) ... but not as lazy.



  • Ather.

    You may use ReportListener for tiff file.You will find a code exaple here:

    http://msdn2.microsoft.com/en-us/library/ms965281.aspx



  • pappascd

  • cpf

    Thanks a bunch D

    Do you know of any place where I can see code for this frx2any, tha sample code are not to clear.

    Thanks again for battling with me


  • tal_raviv

    You may find something similar at:

    http://www.eqeus.com/



  • Harvester

    That is the way to do it from vfp. The "easiest way" is to download a report converter (paid or freeware) to convert reports to a electrocnic format (ex.tiff).:

    http://www.frx2any.com/



  • omrivm

    Thanks for the reply.

    Is this the easiest way to do this in your opinion.

    Thanks again


  • Tiff files