Hi David,
I asked the OP to add ByVal for a parameter in a function declaration. It
was to fix a bug mistakenly introduced during the last release. The A97
version had not been corrected - see why I prefer to publish only one
version on my site!
Thank you for putting an A97 version on your site. The computer containing
my Lebans.com FrontPage stuff died several months ago. I will rebuild the
machine over the Christmas holidays and hopefully start updating my site
again.
To complete this thread, Bug details to follow:
There was a bug introduced for Font Embedding in the last release.
At the top of your modReportTOPDF module is the function signature:
Public Declare Function ConvertUncompressedSnapshot Lib "StrStorage.dll" _
(ByVal UnCompressedSnapShotName As String, _ ByVal OutputPDFname As String,
_ Optional ByVal CompressionLevel As Long = 0, _ Optional ByVal
PasswordOwner As String = "", _ Optional ByVal PasswordOpen As String = "",
_ Optional ByVal PasswordRestrictions As Long = 0, _ Optional
PDFNoFontEmbedding As Long = 0 _
) As Boolean
The very last line of the Sig is missing the ByVal declaration:
Optional PDFNoFontEmbedding As Long = 0 _
Should be changed to:
Optional ByVal PDFNoFontEmbedding As Long = 0 _
--
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"David W. Fenton" <XX*******@dfenton.com.invalidwrote in message
news:Xn**********************************@64.209.0 .95...
Jana <Ba********@gmail.comwrote in
news:cd**********************************@s8g2000p rg.googlegroups.com
:
>On Nov 20, 2:22 pm, "David W. Fenton"
<XXXuse...@dfenton.com.invalidwrote:
>>I've put it on my website for download here:
http://dfenton.com/DFA/download/Acce...ToPDFver751.zi
p
If Stephen wants to put it on his own website, I'll take it down
from mine.
Awesome! Thanks very muchly. Stephen emailed me one, but it kept
crashing when I went to create a report even though I made the
changes he said I'd need to make. Your copy works like a dream,
and I can't wait to implement it in my own app.
Perhaps that's because I compiled it in A97 before zipping it up?
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/