Hi everybody,
i'm having problems when i install my application on a client computer. i bought the suite ver 15.02 and i'm using on this application the report control. i'm on windows 7 and visual studio 2008 vb.net.
the way i'm using this control in my forms is as follow:
first i put on my form in design mode the Report control object (drag & drop)
and then in the form code:
Public Class frm1 Dim WithEvents Report As XtremeReportControl.ReportControl Public Sub New()
'License information
Dim ReportSettings As
XtremeReportControl.ReportControlGlobalSettings = New
XtremeReportControl.ReportControlGlobalSettings
ReportSettings.License = "Report Control Copyright (c) 2003-2011 Codejock Software" + ControlChars.CrLf _
+ "PRODUCT-ID: Codejock.ReportControl.ActiveX.v15.0" + ControlChars.CrLf + _
"VALIDATE-CODE: xxx-xxx-xxx-xxx" (of course replacing the x)
'Call Designer Form InitializeComponent()
'Here i convert type Report = CType(AxReportControl1.GetOcx, XtremeReportControl.ReportControl) End sub
Private Sub Form frm1_load (..) end sub (anything) ....
end class
Well on my develop computer all works fine, no problems at all, but when i create the install project and install the application on the client computer, this prompts the error message only when i open a form that contains the report control (the rest of forms works correctly)
What i'm doing wrong? please i need solve this error as soon as it's possible thank you very much!
for more information i paste the error:
************** Exception Text ************** System.InvalidOperationException: Failed to create the form. See Exception.InnerException for details. Error: Failed to retrieve a COM class factory for component with CLSID {16B9344F-7717-42FD-A483-D1A27C298FDA} because the following error: 80040154. ---> System.Runtime.InteropServices.COMException (0x80040154): Failed to retrieve a COM class factory for component with CLSID {16B9344F-7717-42FD-A483-D1A27C298FDA} because the following error: 80040154.
|