borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Crystal Report Problem)Next Topic (Installation Problem!!) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Runtime Error 20507
Poster Message
boye-i
Level: Scholar

Registered: 22-10-2002
Posts: 43

icon Runtime Error 20507

Hi

I have developed a small project that will allow a user to search on a member's details. I designed the reports with Crystal Report 8.0. In VB 6.0, whenever I run the report by clicking the command button the report displays alright.

After compiling, I followed up with the Package wizard. I included those crystal report files as well as the database as part of the packaging. At a stage, a message displays that

MISSING FILES:
These files are needed for this package but cannot be found. Click browse to locate the file(s) or ok to proceed without the files.
Crystal, p2BBDE.dll, p2BBND.dll, u25STORE.dll, u25TOTAL.dll, u2LBAR.dll

Meanwhile in my crystal report, I specified an ODBC DSN name to specify the location of the report file.

I have searched for these file but no success yet.

When I ignore and prepared the setup files and finally installed it; it runs perfectly. When I try to launch a report, the following error pops up:

"Runtime Error 20507
Invalid File Name"

Your help will be very appreciated!!

Kind regards,
IKE




____________________________
IKBoye

27-03-2004 at 10:26 AM
View Profile Send Email to User Show All Posts | Quote Reply
BRMC
Level: VB Lord


Registered: 28-11-2003
Posts: 210
icon Re: Runtime Error 20507

Hi,
the question is u use in your project Crystal Report Control ?

and then in your code:

With CrystalReport1

     .ReportFileName=ex:app.path & "\yourreport.rpt"

End With

I have no problem with this code.

Bye
BRMC


____________________________
I don't mind not going to heaven
As long as they've got cigarettes
in hell

29-03-2004 at 08:21 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Runtime Error 20507
Previous Topic (Crystal Report Problem)Next Topic (Installation Problem!!) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder