dll list for calling crystal report in power builder

i need list of dll that required to run crystal report calling in power builder

thank
M Raheel
MRaheelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gafoor78Commented:
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
MRaheelAuthor Commented:

i am using ole control , using api and thats why problem occure
error is
Failed to Load Database Information
0
MRaheelAuthor Commented:
i am not  using ole control , using api and thats why problem occure
error is
Failed to Load Database Information
0
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

gafoor78Commented:
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
gafoor78Commented:
Hi

check out this link. i think this will help u

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

rgrds
gafoor

0
gafoor78Commented:
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
MRaheelAuthor Commented:

if u provide me a complete code using ocx
0
gafoor78Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.