Link to home
Start Free TrialLog in
Avatar of TimSweet220
TimSweet220

asked on

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
Avatar of Brian Crowe
Brian Crowe
Flag of United States of America image

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

rd.load("c:\myreport.rpt")
'configure the report connection info
'assign the reportdocument object to a crystalreportviewer control
crv.reportsource = rd
Avatar of TimSweet220
TimSweet220

ASKER

Will that work on the distributed application?  Will the user have to have CR on their machine?
ASKER CERTIFIED SOLUTION
Avatar of Brian Crowe
Brian Crowe
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial