Print Page | Close Window

CR 2008 Developer + VB.NET

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=6670
Printed Date: 02 May 2024 at 7:24am


Topic: CR 2008 Developer + VB.NET
Posted By: Valmont
Subject: CR 2008 Developer + VB.NET
Date Posted: 11 Jun 2009 at 7:35am
Hello,
 
I'd like to build a VB.NET program which can modify existing objects within a CR 2008 report. To be precise, I'd like to redefine the running totals, including their names.
 
I'll tell you what I have and what I can. Then I'll ask my question.
 
I have:
- Crystal Reports 2008 SP1
- I use SharpDevelop as a programming tool
- I can program with VB.NET as a junior, medior max
- I never programmed or attempted to program for CR
 
Where do I go now?
- What Interop do I need to do stuff with reports and running totals in it?
- How do I consume the classes provided in these interops, or where can I find a reference manual for it?
- Can one of Brian's book seriously help me out with these kind of issues?
 
True, I have plans :)
 
Gr,
Val



Replies:
Posted By: Valmont
Date Posted: 12 Jun 2009 at 1:01am
Solved.

Here's something to share.
I managed to get the interops working. The SAP site as well as the Microsoft site have good documentation on the object model of CR 2008 for .NET programmers. So the first issue - interoperability - is resolved.

The second issue - modification of Running Total definitions - is more or less solved: currently the API does not allow you to modify Running totals. Not for real that is. Perhaps the workaround is to duplicate existing running totals and rename the duplicate. Then delete the original unless you need that one as well.

I hope I've added something usefull to you.

One issue remains: feedback on the books from Brian Bischop. Especially for programmers and .net with 2008. PM me if needed.

Gr,
Val



Print Page | Close Window