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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page count for an exported report with .NET 1

Status
Not open for further replies.

chelseatech

Instructor
Aug 25, 2001
1,812
NZ
I have a VB.NET application that exports reports to PDF's. I'd like to keep a log of each export and the page count of each one.

I'm using this to create my report object...
crDoc = New _
CrystalDecisions.CrystalReports.Engine.ReportDocument()
crDoc.Load(FileName)
crDoc.ExportToDisk _
(ExportFormatType.PortableDocFormat, sFileLocation)

I can't find a PageCount property of the ReportDocument object. Can anyone point me in the right direction?

Thanks


Editor and Publisher of Crystal Clear
 
Are you converting your apps to .Net? Everytime I think about getting started, I find something missing in the object model that sends me scurrying back under my VB 6 blankie.

-dave
 
Hi Vidru. I'm keeping my VB6 apps in that world and using .Net for the things it is good for.

I needed a windows service and in .NET it was very easy.

But I'm still creating new apps in VB6 as the COM side of things is still an important technology.

Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top