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
Is this possible? and how?
Thanks in advance
ASKER
Will that work on the distributed application? Will the user have to have CR on their machine?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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