when I run my app on other machines, I can't get my Crystal Reports to run.
Error msg:
File or assembly name CrystalDecisions.Windows.Form or one of it's dependdencies was not found
Printable View
when I run my app on other machines, I can't get my Crystal Reports to run.
Error msg:
File or assembly name CrystalDecisions.Windows.Form or one of it's dependdencies was not found
That's pretty obvious. You need to build a setup project and add merge modules of CR to it.
http://support.crystaldecisions.com/...oyment.pdf.asp
thanks Luna...another question, is there a way to GroupBy two fields without adding another Group?
Huh?
in my report I was trying to group by the purchase date and a sequential field generated by Oracle. I just added another Group to the report....back to the merge modules. I'm developing this app on an XP box and also testing on a NT box that has the .NET framework installed. Do I still need to create a setup project for the NT box or can I just install Crystal on that box?
How you gonna do that? Thats what a setup project does for you. You also need to register your copy of CR and put the registration code somewhere in those setup files.Quote:
Do I still need to create a setup project for the NT box or can I just install Crystal on that box?
And for grouping question: As a quick answer, No. But maybe you can bind the two fileds as desired into one formula filed and group by that. You may give it a try.
thanks
hey Luna, on my report I have a txt object in the page header. I want to place the date selected from the app in there...do you know how I can pass this parameter over to the report?
Define a formula filed in your report-lets say 'myformula'- and leave its formula blank and put the filed in the textbox. Then in your code use this:VB Code:
Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = New myreprt() rpt.DataDefinition.FormulaFields("myformula").Text = yourdate_here
hey Luna, I build my setup package and merged the files I needed...when I run my .exe from on other machine I still get the Crystal error? Is there something else I need to do?
Error msg:
File or assembly name CrystalDecisions.Windows.Form or one of it's dependdencies was not found