Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

missing or out-of-date DLL, exporting to PDF

Status
Not open for further replies.

mlalib

Programmer
Sep 17, 2001
13
CA
I`m trying to export a report to a PDF file without beeing prompted at all...

but I get this error when Rep.Export is FALSE
but works perfectly when it`s at TRUE ( when beeing prompted )

error
-----------
Crystal Reports ActiveX Designer: Missing or out-of-date export dll.
-----------
I checked and every dll seems ok!

LotusScript
---------------
Rep.ExportOptions.DestinationType = crEDTDiskFile
Rep.ExportOptions.DiskFileName = "Yo_bob.pdf"
Rep.ExportOptions.FormatType = crEFTPortableDocFormat

Rep.ParameterFields(1).AddCurrentValue "English"
Rep.ParameterFields(2).AddCurrentValue "R"
Rep.ParameterFields(3).AddCurrentValue "*"

Rep.Export True
--------------------

I`m using CR 8.5
Lotus Notes 5.08

Help would be appreciated! :O)
 
Ok. I`m looking for the file U2FPDF.DLL but it`s not in my
c:\winnt\crystal\.

Does this file exist???
Can't find it on the developer CD ( 8.5 ).

Thanx.
 
Ok.

u2fpdf.dll is now crxf_pdf.dll
and
u2frtf.dll is now crxf_rtf.dll

but my problem isn't solved! :O(
 
Problem solved!! :O)

I change the constant by its value and voilà!

Rep.ExportOptions.DestinationType = 1 'crEDTDiskFile
Rep.ExportOptions.FormatType= 31 'crEFTPortableDocFormat

the value of the properties was `0` in both cases.

 
I don't know much about Lotus, but....

Those constants are defined in CRAXDRT.DLL. In VB and ASP you always have to reference this DLL to get anything done with the RDC technology, so those constants not being properly defined is never an issue (with VB/ASP integration to CR).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top