Learn how to a build a cloud-first strategyRegister Now


View a untyped - Report inside a vb windows application

Posted on 2006-05-02
Medium Priority
Last Modified: 2010-04-23
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
Question by:TimSweet220
  • 2
LVL 34

Expert Comment

by:Brian Crowe
ID: 16591694
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

Author Comment

ID: 16591803
Will that work on the distributed application?  Will the user have to have CR on their machine?
LVL 34

Accepted Solution

Brian Crowe earned 2000 total points
ID: 16591807
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.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month20 days, 23 hours left to enroll

810 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