• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

View a untyped - Report inside a vb windows application

I want my vb application to access crystal report living outside the application (not embedded and not compiled).  

Is this possible? and how?

Thanks in advance
  • 2
1 Solution
Brian CroweDatabase AdministratorCommented:
yes, actually i think it's the preferable way to use crystal reports since it allows modification of the reports without recompiling the application

When you load the crystal report into the reportdocument object you just need to reference the .rpt file path (i would recommend storing this value in a config file)

dim rd as new reportdocument

'configure the report connection info
'assign the reportdocument object to a crystalreportviewer control
crv.reportsource = rd
TimSweet220Author Commented:
Will that work on the distributed application?  Will the user have to have CR on their machine?
Brian CroweDatabase AdministratorCommented:
no, you would need to distribute the appropriate merge modules with your deployment application however.  Search businessobjects.com support for "merge modules" for your version of CR for more info.  If you have trouble finding it let me know.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now