Thanks Brian,
So the value of strPdfFileName and strRunOnce in Sub ReportPdf is the
same?
You say, "if the created date of the
'ini file is more then 15 minutes, we just delete and print anyway"
therefore shouldn't this be the correct code:
If DateDiff("n", fs.GetFile(strRunOnce).DateCreated, Now) > 15 Then
fs.DeleteFile strRunOnce, True
?
Giorgio
--- In MS_Access_Professionals@yahoogroups.com, "brian.rogoski"
<brian.rogoski@...> wrote:
>
> Giorgio,
>
> Inside of it, these lines specifically create the file via the
reference to the bzpdfc.dll file. You could output it using a text
stream, I suppose, but doing it this way creates it in the correct
directory and format.
>
> bz.SetValue "OwnerPassword", "PASSWORD"' for the "owner password"
> bz.Setvalue "UserPassword", "PASSWORD"'for the "user password
> bz.SetValue "output", strPdfFileName
> bz.SetValue "showsettings", "never"
> bz.SetValue "showpdf", "no"
> bz.SetValue "confirmoverwrite", "no"
> bz.WriteSettings True
>
>
> --- In MS_Access_Professionals@yahoogroups.com, giorgio_rovelli
no_reply@ wrote:
> >
> > Hi Brian,
> > is the creation of runonce.ini carried out within Sub ReportPdf or
outside of it?
> >
> > Giorgio
>
[Non-text portions of this message have been removed]
Kamis, 22 September 2011
[MS_AccessPros] Re: Output Report to PDF
__._,_.___
MARKETPLACE
.
__,_._,___
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar