944,142 Members | Top Members by Rank

Ad:
Mar 27th, 2007
0

VB6 application and Cryatal Reports Professional Addition 9

Expand Post »
I have an application developed in VB6 (with service pack4) intalled on Windows XP (with Service Pack 2.)

We have some reports which were created on Crystal Report Professional Addition Version 9.

I have written following code to run the report from VB application:

CrystalReport1.ReportFileName="C:\Sample\Employee.rpt"
CrystalReport1.Action=1

CrystalReport1 is the name of Crystal Report Control

I receive following error:
Run-time error 20525'
Unable to load report.

I remember we used to have similar syntax in Crystal Reports Version 7.

It will be highly appreciated if somebody can help me to resolve it?

Thanks!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
munshe916 is offline Offline
1 posts
since Mar 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: To display selected names in VB 6
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: FlexGrid issue and error "Invalid Row value"....





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC