Last post Feb 02, 2011 07:33 AM by jacqmizz
Jan 31, 2011 09:36 AM|jacqmizz|LINK
Maybe I'm just hitting the wrong keywords in search but I cannot find much information about Crystal Reports and Visual Studio 2010. In reasearch I conducted I found out that it is possible to itegrate VS2010 and CR but the information is either partial,
incomplete or hazy.
Does anyone have an article I can read to find out more about how to use CR and VS2010 together?
Thanks you. In the meantime I'll keep looking and post any updates I might have.
Feb 02, 2011 03:08 AM|cnranasinghe|LINK
Check this link
Feb 02, 2011 07:33 AM|jacqmizz|LINK
Hello, thanks for taking your time to answer however it was not the answer I was looking for.
Talking from experience and research, Microsoft and SAP decided NOT to include Crystal Reports integrated into the Visual Studio IDE from VS2010. Although one can download Crystal Reports and still use it in Visual Studio, I could not find a clear and reassuring
article on how to do this.
This is how I did it for anyone who may encounter the same problem I did;
Software I used: Visual Studio 2010, Crystal Reports XI, MsSQL Server Management Studio Express & MsSQL 2008
1. Install all the components normally. Sometimes Visual Studio does not manage to find Crystal Reports libraries, so you might have to reinstall Crystal Reports.
2. Create your report using Crystal Reports and save it to any location (such as desktop, which can be found easily)
3. Open Visual Studio create a form2 and insert the Crystal Report Viewer which can now be found under the Reporting tab in the toolbox.
4. Make sure to add your Crystal Report to your project by navigating to Add Existing Item > "Browse to Desktop" > CrystalReport1.rpt
Note: Make sure to use the below and create an instance of the report from a button in form1 for example.
private void button1_Click(object sender, EventArgs e)
ReportDocument cryRpt = new ReportDocument();
Form2 showForm = new Form2();
I hope this helps. If you need further information please post here.