Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 not showing Crystal Report Viewer of Printing Tab in Toolbox?

Scenario :

I have windows form Application and want to generate Crystal reports. I have downloaded Crystal report of SAP and Installed, designed all crystal reports (made data set,table adapter etc )but I can't add crystal report viewer because I can't see "Crystal report viewer and crystal report Document" that in Reporting Tab but i downloaded one sample project from internet regarding crystal report i find there "Crystal report viewer ", so I match all references of that project and libraries used in that class but didn't find any crystal report viewer in reporting section of Toolbox.

Problem :

I can't view "Crystal report viewer and Crystal Report Document" in Toolbox.

Please help me or suggest me some suggestion to overcome on this problem.

like image 748
Saeed Khan Avatar asked Jan 01 '14 07:01

Saeed Khan


1 Answers

1) In project Properties window in the Application tab change the Target Framework from ".Net Framework 4.0 client profile" to ".Net Framework 4.0"

2) Added the CrystalDecisions.Windows.Forms reference to project (in solution explorer right click in Reference folder and choose "Add Reference" --> for newbies such me)

Now you can able to see CrystalReportViewer.

Please mark as accepted answer if it works for you.

like image 51
sk7730 Avatar answered Oct 20 '22 12:10

sk7730