Kamis, 22 September 2011

[MS_AccessPros] Re: Output Report to PDF

 


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]

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar