[solved]Help about creating a installation vb net |
Post Reply |
Author | |
kaliand
Groupie Joined: 15 December 2010 Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 16 November 2011 at 5:56am |
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. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Do you register the OCX on the client machine?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |