cancel
Showing results for 
Search instead for 
Did you mean: 

Need help getting started. "Hello World"

Former Member
0 Kudos

Could someone help me get up and running with a simple "Hello World" app please. I'm having problems getting started because of a bunch of reasons.

I started off by downloading and installing "CRRuntime_64bit_13_0_1.msi". <- Is this correct?

Then I downloaded the API and Developer guides.

The Developer Guide starts me off with a simple VS 2010 app where I must right click and add a new CrystalReport item, then it opens up a web page because it's being used the first time etc... The guide instructs me to download the "Update Service". I don't know which of the listed downloads this is.

Several other issues from the guide are:

1) "From the Crystal Reports menu, click Check for Updates." <- No Crystal Reports menu in VS 2010. Should it be there?

2) "From the Toolbox, open the Reporting node to locate the CrystalReportViewer control." <- I cannot find this component.

All the above makes me think that Crystal is not installed, but when installing again it says it is already installed.

Our situation is as follows...

We have a collection of Crystal Reports designed in Crystal Reports 9 (and 11) - used by one of our existing projects.

(We do not need a new Crystal Report Designer.)

We'd like to call/show these same reports from a VS 2010 (C#) , Silverlight, WCF platform using the latest free Crystal package available on this site.

If I can just get a simple c# Forms app going with a proof of concept then that should be enough to get me going.

Any help would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Moved to SDK forum

Go to this page: http://www.sdn.sap.com/irj/boc/crystalreports-dotnet

Bottom of the page is all of the info for CR for VS 2010. First you need to install the plug-in package onto your developer PC that has VS 2010 installed. Installing just the runtime is not enough.

Then when you create your project set it to 4.0 full framework and either x86 or x64, not AnyCPU.

Then search here, lot of info....

Don

Former Member
0 Kudos

Where can I find that Plug-In you mention?

former_member183750
Active Contributor
0 Kudos

If you only installed the "CRRuntime_64bit_13_0_1.msi", unistall it. The do the following:

Download the CRVS2010 install from [here|http://www.sdn.sap.com/irj/boc/support?rid=/webcontent/uuid/d01fdad8-44e5-2d10-61ad-9d2d4158f3a8] [original link is broken];

Read the [SAP Crystal Reports version for Visual Studio 2010 Installation Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_install_guide_2010_en.pdf]

Read the blog [My day (1) training on CR 2010 Beta|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/19067] [original link is broken] [original link is broken] [original link is broken];

Look at the following demos:

[WPF|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8]

[Overview of Export to XSLX with Crystal Reports for Visual Studio 2010|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/20e93276-142a-2d10-cb89-ab835b221ffd] - note; you do not have to use the WPF viewer, this is just a demo and another option for you. I'd start with the plain Jane win viewer (see sample links bellow).

[Overview|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/4053ee51-162a-2d10-b8b0-fdd7a26d5cd2]

[Sorting and Filtering|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/504d77eb-892a-2d10-c0b9-c9b6da1e1ffa]

[Dynamic Grouping|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/109e0473-8c2a-2d10-d195-8eba1badf7df]

[3rd party blog on how to|http://thedatafarm.com/blog/data-access/crystal-reports-and-visual-studio-2010/]

Remember to cosult the Developer Guides:

[Report Application Server .NET API Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/xi4_rassdk_net_api_en.zip]

[Report Application Server .NET SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/xi4_rassdk_net_dg_en.zip]

[SAP Crystal Reports .NET API Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip]

[SAP Crystal Reports .NET SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]

And finally, look at the sample apps here:

https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples

Oh. And to create a simple "hello world" app. I recommend that you use a saved data repprt. Start with a win app. Add the CR viewer to it. In the load form event add the code:

CrystalreportViewer1.ReportSource = <path to saved data report>

Voila.

You can use a report without saved data - it will prompt for the db logon and work from therre - as long as the datasouorce exists. Later on, you can code teh db logon.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Edited by: Ludek Uher on Sep 2, 2011 10:08 AM

Former Member
0 Kudos

Your post is legendary!

Thanks a ton for your time and effort in helping me out!

I'm going to go through all this today and then I'll let you know. (and mark as answered etc)

Answers (2)

Answers (2)

Former Member
0 Kudos

I'm up and running. Thanks everyone!

Former Member
0 Kudos

You need to start with

Former Member
0 Kudos

That link just takes me to a bunch more questions.

Do you perhaps mean the first item in that list?

In which case...