ActiveReports 2.0 (Visual Basic 6.0) Support

Started by RBourgeois at 06-30-2009 2:38 PM. Topic has 1 replies.

Print Search Rate
Sort Posts:    
   06-30-2009, 2:38 PM
RBourgeois is not online. Last active: 6/17/2009 2:16:05 AM RBourgeois

Not Ranked
Joined on 06-17-2009
Posts 10
Calling Active Reports COM from .NET

Attachment: rptMonthlyValues.rpx
I've created a new Visual Studio 2008 VB.Net application, and I am instantiating a ActiveReport COM object, and trying to load a layout. The layout file being loaded was created by the VB6 COM version of Active Reports.

Dim oReport As New DDActiveReports2.ActiveReport()
oReport.LoadLayout("rptActualPaymentV1.rpx")

When the code executes, I receive the following error:
Unknown Error [ Extended Info:Don't use CreateObject() in scripting. Report was not propertly initialized.]

Any ideas?
   Report 
   07-01-2009, 8:52 AM
PrantikS is not online. Last active: 3/6/2010 4:24:11 AM PrantikS

Top 25 Posts
Joined on 12-11-2008
Posts 756

DDStaff
Re: Calling Active Reports COM from .NET
Hello,

I would like to inform you that ActiveReports 2.0(COM) is designed for usage only in VB6. If you want to use ActiveReports in Visual Studio 2008 VB.NET environment, you could use our product ActiveReports for .NET. You can download the unlicensed version from this link. Further, I would like to add that the Reports created in ActiveReports 2.0 can be converted to ActiveReports for .NET. You may want to look at this KB article in this regard.

Regards,
Prantik


   Report 
GrapeCity » Product Support » ActiveReports 2... » Calling Active Reports COM from .NET

Privacy Policy | Copyright © 1997-2010 - GrapeCity, inc.