Post Author: buldozer
CA Forum: .NET
There seems to be a problem with Crystal Reports for Visual Studio
.NET 2005 (SP1 both Visual studio and CR in my case), under Windows
Vista (haven't tried under other windows environments).I am
using the RDC control (craxddrt.dll) inside my (unmanaged) C++/MFC
application. I can preview/print reports normally (thoug it was a BIG
problem to start using crviewer.dll inside application), and can also
export reports without a problem IF I let the control prompt the user
for export options. While any call to m_Report->Export(FALSE)
(actually a VARIANT type of VT_BOOL with value FALSE and m_Report being
an IReportPtr) crashes no matter if I set any/all/none of exporting
parameters. Is there a solution to this? I read about some solutions
for Crystal Reports for VS .NET 2003, but nothing for .NET 2005.
Any help would be really appreciated, as I'd like to export reports to Excel with set options and no user intervention.
Greets, Toni