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.comWould you believe Far Side Lite?
More than 270 original cartoons.