on 10-17-2011 11:34 AM
Hello
I need insert a WORD document at runtime into Crystal report 2008.
Is it possible do it this using RAS SDK for .NET?
Thank you
Possible, but remember that only the 1st page of the word doc will be added - same as in the CR designer.
There is a number of sample apps at [this|http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375] link. Add image sample may be good to look at.
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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Design your reports with CR 2011.
Install VS 2010 or VS 2012.
Install CR developer for VS (SP7 install exec) on top of VS.
http://scn.sap.com/docs/DOC-7824
Use version 13 CR assembly references to your app.
Here are the sample codes.
http://scn.sap.com/docs/DOC-28646
http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375
samples are written for CR 12 but you could use the same code and built your own app with CR 13 assembly references.
- Bhushan
You have to go with Ultimate / Professional. CR will not integrate with Express...
Re:
Also, where in the sample codes should I be modifying to link the VB code to my Crystal report?
1) .ReportLoad
2) Database logon - PWD, UI, etc.
3) Parameters
4) Selection formulas
.
.
.
(2) on is optional - depending on if there is a db logon and / or if you want to do the logon for the users. Ditto for parameters, selection formula, etc.
- Ludek
Ludek, Bhushan,
I've now got Visual Studio 2010 Professional. I've also downloaded one of the samples - "NET-VB2005_RAS-Unmanaged_CR12_Add_Image-From-File". When I try to open the project in VS 2010 IDE, it tries to convert the project to a compatible format and throws an error that the conversion cannot be done because the source code was built in a different version of VS.
What am I doing wrong? How can I access / edit what is in the source code?
Also, does Crystal Reports Enterprise integrate with Visual Studio 2010 & above?
Weird. I downloaded the project. Started VS 2010. Went to File | Open | Web Site and then just got asked if I wanted to upgrade the project...
CR Enterprise does integrate, as a managed reporting solution only. E.g.; you can not open the report created in CR 4 E as reportdocument.Load(Path to report). You also would have to use version 14 assemblies for BI 4.x, not version 13 from CRVS.
- Ludek
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.