|
The current article describes how to automate the upgrade of your reports by ARVSPackage assembly of Active Reports .NET 3.0 that provides several public method for conversion.
Here is a sample of code:
[C#]
ArrayList al = new ArrayList(); al.Add(new DataDynamics.ActiveReports.Converter.CSharpReport(@"c:\path\report1.rpx",@"c:\path\report1.cs")); DataDynamics.ActiveReports.Converter.ARReportConverter.Convert(al);
[VB.NET]
Dim al As New ArrayList al.Add(New DataDynamics.ActiveReports.Converter.VBReport("c:\path\report.rpx", "c:\path\report.vb")) DataDynamics.ActiveReports.Converter.ARReportConverter.Convert(al)
Note: This article can be applied to the reports created in Active Reports .NET 1.0 and Active Reports .NET 2.0
Applies To: ActiveReports for .NET 1.0 ActiveReports for .NET 2.0 ActiveReports for .NET 3.0
|