View a untyped - Report inside a vb windows application

Posted on 2006-05-02
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
    LVL 34

    Expert Comment

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

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

    Accepted Solution

    no, you would need to distribute the appropriate merge modules with your deployment application however.  Search support for "merge modules" for your version of CR for more info.  If you have trouble finding it let me know.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now