Porting from Active Reports 1.0 (COM version) to ActiveReports 3.0 for .NET


01-21-2009, 4:55 PM
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

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


01-21-2009, 10:52 PM
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

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


01-22-2009, 11:53 AM
Thanks, this is exactly what I was looking for.

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


02-12-2009, 3:14 PM
I download ActiveReport 2.0 (COM edition) and I don't see any Upsizer wizards. Could you point me to a URL?

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


02-12-2009, 3:32 PM
Hello,

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

Regards,
Sandeep

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


02-12-2009, 3:44 PM
Thanks. I was looking in c:\program files\data dynamics instead.

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


03-02-2010, 8:31 AM
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?

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


03-02-2010, 10:24 PM
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