Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I've just developped in Visual Studio 2008 a kind of grid custom control which has a public function that returns a crystal report of its cells contents.

It does work well when I use it in the same vb solution, but when I try to add this control to other projects toolbox, I get an error "Creating ToolBox Item of type: CrystalDecisions.VSDesigner.ReportToolBoxItem, CrystalDecisions.VSDesigner".

The CrystalReport is defined inside the custom control project as an embedded resource (compilation options).

Any idea to solvent this problem?

THANKS A LOT
Posted

1 solution

Dear

Goto project menu and add reference of

CrystalDecisions.VSDesigner.ReportToolBoxItem, CrystalDecisions.VSDesigner.

I am sure it will work.
 
Share this answer
 
Comments
Joan Costa 15-Mar-13 3:39am    
Thanks for the answer.

I've found and added the "CrystalDecisions.VSDesigner" reference, but not the "CrystalDecisions.VSDesigner.ReportToolBoxItem" one...

It still doesn't work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900