?
Solved

dll list for calling crystal report in power builder

Posted on 2003-11-07
10
Medium Priority
?
3,674 Views
Last Modified: 2013-12-26
i need list of dll that required to run crystal report calling in power builder

thank
M Raheel
0
Comment
Question by:MRaheel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
10 Comments
 
LVL 5

Expert Comment

by:gafoor78
ID: 9700226
Hi

I think u only need crystl32.ocx registered in ur system to call crystal report from PB

if u hav any pblm  calling crystal report from PB just follow this link. after then if u hav any more doubts let me know


http://oldlook.experts-exchange.com/Programming/Programming_Languages/PowerBuilder/Q_20776699.html

rgrds
gafoor
0
 

Author Comment

by:MRaheel
ID: 9700261

i am using ole control , using api and thats why problem occure
error is
Failed to Load Database Information
0
 

Author Comment

by:MRaheel
ID: 9700265
i am not  using ole control , using api and thats why problem occure
error is
Failed to Load Database Information
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:gafoor78
ID: 9700293
hi

can u just paste ur code for calling crystal report here... that will be gud 4 others also to help u.

rgrds
gafoor
0
 
LVL 5

Expert Comment

by:gafoor78
ID: 9700348
Hi

check out this link. i think this will help u

http://support.crystaldecisions.com/library/kbase/articles/c2008905.asp

rgrds
gafoor

0
 
LVL 5

Expert Comment

by:gafoor78
ID: 9700354
Additionally, there are a number of utilities that come with Crystal Reports which are very useful for tackling Runtime File problems.  Some of these are installed in the same directory as CRW32.EXE, and others can be found in the Tools directory on the Install CD:

I will recommend to you to check these 2 utilities :

RPTCHK32.EXE - The purpose of this utility is to load a Report, analyse it for the Runtime Files it requires, and then provide you with the results of the analysis.  

CRWCHK32.EXE - This utility was meant to be run on a client machine.  You tell it what Crystal version you are distributing, and which options you want to scan for, and it will search out the DLL's and tell you if the versions are what was expected or not.  It will list all the versions of the files that it finds in the Windows search path, along with their versions, dates, and sizes.  It will also record any that it does not find.  

0
 

Author Comment

by:MRaheel
ID: 9700410

if u provide me a complete code using ocx
0
 
LVL 5

Accepted Solution

by:
gafoor78 earned 200 total points
ID: 9704417
Hi

i think using ocx is the best method thru odbc ( if u already used ODBC  in ur application )

here is the complete step if u like to use ocx

1.) click the ole control from ur control list in PB
2.) then click the tab ' insert control '  from the opened window
3.) from the control list select ' crystal report control '. ( if u cudn't see, then u hav to register its ocx crystal32.ocx with regsvr32 or from that window itself by clicking register new ). this will be automatically registered if u installed crystal report in ur system

4.) put the control in ur window
5.) then code this to view the report

  //connect report with dsn
  ole_1.object.Connect = "ODBC;DSN=ur_dsn_name;UID=ur_uid;PWD=ur_pwd_here"

  ole_1.object.ReportFileName = "put_path_of_report_file" // full path of  report file ( .rtp file )

  // view report
  ole_1.object.action = 1

6.) run ur application, then u can see the report in the report viewer control of crystal report

rgrds
gafoor
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question