Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB.Net vs VB with Crystal Reports 11 Viewer
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
01027081
Message ID:
01028288
Views:
11
Viv,

Finally got it, just before I read your latest message. Thanks for much for all of your help during this most trying/crying (LOL) of times.

I put this code after the Windows Form Designer Generated Code in my form:
Dim crxApplication As New CRAXDRT.Application
Public oReport As CRAXDRT.Report
Here is the code I used in my Run Report button_click:
oReport = crxApplication.OpenReport("c:\crystal_test.rpt", 1)
crViewer.ReportSource = oReport
crViewer.ViewReport()
That's all it took. Plus I added the Crystal Viewer object to my form from Components in the Toolbox and I added some Crystal Reports references to my project through the Solutions Explorer window and added the report itself, but I think I don't need all the references that I added so I will clean them out one-by-one and only be left with the bare minimum required files to run this thing.

Wooo HOOOOOOO! It's done. Now it should be easy to jazz it up and add the date range parameters now that I can see a report.

Have a great one oh great one!

Some of your original code examples helped me with parts of this solution so you get 5 stars real soon and lots of pats on the back.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform