ActiveReports for .NET 3.0 Support

Started by rgelb at 01-21-2009 4:55 PM. Topic has 7 replies.

Print Search Rate
Sort Posts:    
   01-21-2009, 4:55 PM
rgelb is not online. Last active: 10/6/2010 11:01:05 PM rgelb

Top 500 Posts
Joined on 01-25-2008
Posts 35
Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET
About to embark on a project where will be porting an old VB6 application with tons of reports based on Active Reports 1.0 for COM to ActiveReports 3.0 for .NET (or upcoming 4.0, if it comes out on time).

Before I even start..

1. Is it feasible to port at least the visual part of the .RPX file to ActiveReports 3.0 for .NET? If so, what state will the VB6 source code be left in?

2. Is there a white paper somewhere on best practices when porting Active Reports from COM to .NET? I could not find one.

3. Any other advice?

Regards


   Report 
   01-21-2009, 10:52 PM
SandeepS is not online. Last active: 6/22/2009 9:57:37 PM SandeepS

Top 50 Posts
Joined on 12-11-2008
Posts 269

DDStaff
Re: Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET
Hello,

If your project is currently using the Active Reports 1 and you want to shift your project to .Net then firstly you have to convert your project to Active Reports 2 using the Upsizer utility in Active Reports 2.You can download the latest build for Active Reports 2 from here:
http://www.datadynamics.com/forums/37/ShowForum.aspx

To know more about the Upsizer utility please go through the following link:
http://www.datadynamics.com/Help/AR2Std/HX_Converting_Version_1_0_Reports_to_Version_2_0.html

After installing the Active Reports 2 you can find the Upsizer utility at the following location:
C:\Program Files\Common Files\Data Dynamics\ActiveReports

Once you are done with above mentioned steps then please take a look at the following which explains how you can upgrade from VB6 to .NET: http://www.datadynamics.com/forums/95490/ShowPost.aspx

Please note, only the layouts from VB6 reports can be imported to the .NET version. The VB6 code in your report script and codebehind will need to be converted manually.

I have also uploaded a zip folder which contains a video for converting your reports from COM/VB6 to .net. at the following location:
http://www.speedyshare.com/651674246.html

Let me know if you need further assistance/clarification.

Regards,
Sandeep

   Report 
   01-22-2009, 11:53 AM
rgelb is not online. Last active: 10/6/2010 11:01:05 PM rgelb

Top 500 Posts
Joined on 01-25-2008
Posts 35
Re: Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET
Thanks, this is exactly what I was looking for.
   Report 
   02-12-2009, 3:14 PM
rgelb is not online. Last active: 10/6/2010 11:01:05 PM rgelb

Top 500 Posts
Joined on 01-25-2008
Posts 35
Re: Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET
I download ActiveReport 2.0 (COM edition) and I don't see any Upsizer wizards. Could you point me to a URL?
   Report 
   02-12-2009, 3:32 PM
SandeepS is not online. Last active: 6/22/2009 9:57:37 PM SandeepS

Top 50 Posts
Joined on 12-11-2008
Posts 269

DDStaff
Re: Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET
Hello,

You can find the Upsizer utility at the location given below:
C:\Program Files\Common Files\Data Dynamics\ActiveReports Pro

Regards,
Sandeep
   Report 
   02-12-2009, 3:44 PM
rgelb is not online. Last active: 10/6/2010 11:01:05 PM rgelb

Top 500 Posts
Joined on 01-25-2008
Posts 35
Re: Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET
Thanks. I was looking in c:\program files\data dynamics instead.
   Report 
   03-02-2010, 8:31 AM
jpasswaters is not online. Last active: 11/29/2010 11:31:12 PM jpasswaters

Not Ranked
Joined on 03-02-2010
Posts 17
DISREGARD: Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET
You have to click the File > Save within the report window, not in VB6.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>
When I save my ActiveReports 2.0 COM report as the RPX format and open that RPX file in Notepad, I have a bunch of VB code.

Why is this?
   Report 
   03-02-2010, 10:24 PM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

DDStaff
Re: DISREGARD: Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET
Hello,

I would suggest you to remove this code from the RPX files. Then follow the steps:

1) Open a Visual Studio project and add a new report. Name the report whatever report name you are going to load from the RPX file.
2) While in the design surface of the report, choose Load Layout from the Report menu. Select the RPX file that you just modified. You should see the report in the .NET environment.
3) The VB code in your report script and codebehind need to me manually converted to the .NET code.

You can also refer this KB article.

Regards,
Ankit Nigam


   Report 
GrapeCity » Product Support » ActiveReports f... » Re: DISREGARD: Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.