how to use crystal report in VB 6.0

Posted on 2003-03-31
Medium Priority
Last Modified: 2010-04-07
hi, i found out that VB6.0 is quite different from VB5.0 in the way of
accesing crystal report, where only i could find it from the component,
but it is not the same as easy the way as in VB 5.0 where i could have
Crystal Report main screen to use it.. so pls tell me how to use crytal
report from the added component on the toolbox or where can i find the
Crystal Report main screen in VB6.0
Thanks you.
Question by:huplim
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
  • 2

Author Comment

ID: 8242694
i hope i could have even more detail of solution for my question, and future questions.. and i think it would be more helpful to have the code and link to certain page(s) that could help in understanding the solution.. thank you everybody.. good day
LVL 101

Accepted Solution

mlmcc earned 150 total points
ID: 8243468
Are you saying you installed VB6 and now need to instal CR?

Are you looking for CR that comes with VB or do you have a later version?

Look at

you can find information here:
HOWTO: Install Crystal Reports for Use in Visual Basic 6.0

The version of Crystal Reports is

Located on your Visual Basic CD
dir: \Common\Tools\VB\CrysRept\Crystl32.exe

Which cd ?
  Product                        Disk
   Visual Basic Professional      1
   Visual Basic Enterprise        1
   Visual Studio Professional     2
   Visual Studio Enterprise       3

I hope this helps


Expert Comment

ID: 8243613
Steps for viewing crystal report:

1. Add component : Crystal report control

2. create it's object on form

3. set it's property according to your requirement

4. Either specify reportfilename in this or at run time

5. now for printing that report either by
   a. crystalreport.printreport
  or b. crystalreport.action=1

Private Sub Company_Label_Click()
    Me.crtmdi.ReportFileName = IIf(Right(App.Path, 1) = "\", App.Path & "Reports\comp_label.rpt", App.Path & "\Reports\comp_label.rpt")
End Sub

You can also use crystal report viewer for report ,with it you can show your report on your form also while in crystalreport control if you want to show report on screen then another window will open for that .

Hope it may help help you

Author Comment

ID: 8366120
thank you for the information..

anyway can i know u??
call me at icq#178612833
yahooID huplim2001
msn huplim@hotmail.com

c ya

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

765 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