-
Cr Xi + Vs2005
Hi All,
We just upgrade to CR XI in our environment, and our development tools is VS2005 (VB.NET).
1) For testing purpose, I open a very simple application which include CrystalReportViewer in a form and try to load a report. When I run it, I got the following error:
A call to PInvoke function 'CrystalDecisions.Windows.Forms!CrystalDecisions.Windows.Forms. :: b' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
For the same application running in VS2005, it got no problem (also using CR XI viewer).
2) Another problem is that, we use CR7 feature to add more than one *.rpt and preview it in window as single file with multiple pages:
Set Rptpk = New CRVIEWERLibCtl.ReportSourceRouter
Rptpk.AddReport rpt1
Rptpk.AddReport rpt2
...
...
I can't find any resources on doing this is CR XI, any one know any inforamtion about this?
Thanks.
-
Re: Cr Xi + Vs2005
For (1), I found this fix, which is CR IX Release 2......
http://www.businessobjects.com/produ..._release_2.asp
At the time CR IX release, VS2005 is not available yet???
-
Re: Cr Xi + Vs2005
I too had faced issues in integration of CR XI with VS 2005. But that goes away if you install the correct version i.e. CR XI Release 2.
As for point 2, I haven't seen any such example (though new to CR) but it would be interesting if that happens. And if it worked in 7 I doubt they would have taken in out in XI, but not sure.
-
Re: Cr Xi + Vs2005
The same function is available in CR XI too, but it needs to use the ActiveX control instead, which is not what I want if I code in VB.NET........