Help - Search - Members - Calendar
Full Version: Export using IfrxBuiltinExports
Fast Reports forum > Fast Reports Products > FastReport Studio
calidore
I'm trying to export a report to pdf using a vb script as follows:-

Dim Reporter as object
Dim Exporter as object

Set Reporter = CreateObject("FastReport.TfrxReport")
Set Exporter = Reporter.IfrxBuiltInExports

Reporter.LoadPreparedReportFromFile("c:\Reports\MyReport.fr3")
Export.ExportToPDF("c:\Reports\MyReport.pdf", 1, 1, 1,1)

Set Reporter = Nothing
Set Exporter = Nothing

I get an error on the Set Exporter line saying that the object does not exist.

I'm using 4.0 trial version, can anyone help please??
alman
We are sorry, there are limitions on using FastReport with VB Script.
I can suggest to call FastReport.exe with following arguments.
For example:

"C:\Program Files\FastReports\FastReport Studio\Bin\FastReport.exe" list.fr3 /export=list.pdf

Sorry for inconvience.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.