Error attaching PDF to email

37 views
Skip to first unread message

Marat Chariev

unread,
Feb 26, 2015, 9:50:15 AM2/26/15
to frx...@googlegroups.com

Greetings,

I am evaluating FRX2Any for use in some applications where I need to create .PDF’s from FoxPro reports and attach them to MS-Outlook emails like this one.  I downloaded the latest version of FRX2Any and when I first tried the FRX2ANY.APP, it worked as expected bringing up my Outlook message with the .PDF attached.  So then I tried the sample code found in W:\PDFTest\Samples\PDF OutPut\Simple using folder (see attached) changing  the output option to email.  The INVOICE.pdf was generated in the \OutPut folder, but when the email appeared (this email actually), the following text was in the body of the message and the file was not attached.


%PDF-1.4 %âãÏÓ 1 0 obj << /Type /Pages /Count 1 /Kids [ 2 0 R ] >> endobj 2 0 obj << /Type /Page /Parent 1 0 R /Resources << /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] /Font << /QuickPDFF650953c5 9 0 R /QuickPDFFf1903c9b 12 0 R /QuickPDFF82bd91cb 17 0 R >> /XObject << /QuickPDFIm94e7ea72 13 0 R >> >> /Contents [ 5 0 R 6 0 R ] /MediaBox [ 0 0 612 792 ] /CropBox [ 0 0 612 792 ] /Annots [ 14 0 R ] >> endobj 3 0 obj << /Type /Catalog /Pages 1 0 R /Metadata 18 0 R >> endobj 4 0 obj << /Producer (Debenu Quick PDF Library 9.16 \(www.debenu.com\)) /Creator (Debenu Quick PDF Library 9.16 \(www.debenu.com\)) /CreationDate (D:20150226075551+06'00') /ModDate (D:20150226075554+06'00') >> endobj 5 0 obj << /Length 0 /LC /iSQP /Filter /FlateDecode >> stream endstream endobj 6 0 obj << /Length 2186 /LC /iSQP /Filter /FlateDecode >> stream xœÅZ]sÛ6}ׯÀL­šÎ¸ > bßì8κÓØJ¤fÛn÷ ¦hG Eª””Ôýiýu½ ÀO‘”DefG“ &
...
.@ DàóþÍ„"óÉž&” ·Pú[1]Õ?À¿ß'ÿý­|-&ÂÇJ"J%–ÄhÕ®†áDú ³ZM¼Ws — ‑ãæ+ná! :s˦ ØÂö0ãÉÕ„ y6yùn·
?M¯onU ” ûð­Ô€Ì#Θý³´ª¤tÍ4rì \¸ŠrŸq\몶,Mš[––¤bÓ~‑®3‹ÂIa‹Åñ¤2ÕÖ C)øJL\ûúÈãÉì¤5S:Ì ËR,ýÒW°‚
?q"ìÎiýÄ ¬ðÊOÜ,á†Ï-v~*`᧠ã*Ùܸ]g…ŸŒ… J
m…1¾ ÉˤX+5·œ,PœzXöi÷/é.;S½ÿ €ç½œ'á®—n ÏùÏÔq×ÁñRÞ TP«tfK_!«¼
Í
s¸ *8

 

I am running the following software:

VFP 7.0

Windows 7 sp1 (64-bit)

MS-Office Professional Plus 2010

FRX2Any – Version 14.05.00

iSEDQuickPDF.dll – version 9.16.910.1205

GdiPlus.dll – Version 5.2.7601.22922

 

Before I buy a copy of this software, I need to know that it will work in this environment.

Thank you for your time,

Bob

Marat Chariev

unread,
Feb 26, 2015, 9:51:11 AM2/26/15
to frx...@googlegroups.com
Hi, Bob
Try to set in your code loFile.lAsAttachment property value to .T

Reply all
Reply to author
Forward
0 new messages