Click to See Complete Forum and Search --> : Crystal Reports 11 issue with VB.NET


g2pal
May 27th, 2005, 02:14 PM
Hi,
I am using CR 11 developer to integrate Crystal Reports to a VB.NET application. I created the application using CR 10 developer edition. I use the Reportdocument object to set all param values and them pass the report document object to CR Viwer object. Here is the code I use to pass the reprot docuemnt to the Viewer

frpt.rptViewMain = frpt.rptDoc

I recently upgraded to CR11 developer and I keep getting the following message when I try to set the CR viewer repostsource to the report object

"Controls created on one thread cannot be parented to a control on a different thread"


frpt - From on which the controls reside
rptViewMain - CR Viewer
rptDoc - ReportDocument

I would appreciate any help you can provide