troubleshooting Question

.NET windows form need to print a crystal report template is not working, syntax problem. easy 500 points .. urgent

Avatar of niger007
niger007 asked on
Crystal Reports
4 Comments2 Solutions295 ViewsLast Modified:
I need to print a crystal report template, when i click a button in my windows form. I have already designed a template named
CA.rpt.what is code need to be include in my button click procedure.


Private Sub button1_Click()

Dim crystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer
crystalReportViewer1.ReportSource = "C:\CA.rpt"


End Sub

The printer is my local printer. I have designed this template using crystalreprot XI and no database info needed to populated
into the report as it has just a imgage only.
ASKER CERTIFIED SOLUTION
frodoman

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros