Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > General Discussion
  New Posts New Posts RSS Feed - [solved]Help about creating a installation vb net
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[solved]Help about creating a installation vb net

 Post Reply Post Reply
Author
Message
kaliand View Drop Down
Groupie
Groupie


Joined: 15 December 2010
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote kaliand Quote  Post ReplyReply Direct Link To This Post Topic: [solved]Help about creating a installation vb net
    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.


Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2011 at 1:24pm
Do you register the OCX on the client machine?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.