iam doning one vb.net application.it is windows application.here iam having 6 class libraries and all dlls are added as reference to another module.the main module is CEMDAS. The referenced class library is RPT_LIB.
here my code is
in general declarations iam declared like this
Public m_uiREPORT_CONFIG As RPT_LIB.REPORT_CONFIG
---------------calling-----------------------
Expand|Select|Wrap|Line Numbers
- Private Sub cboSITE_SelectedIndexChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cboSITE.SelectedIndexChanged
- m_uiREPORT_CONFIG = New RPT_LIB.REPORT_CONFIG 'it shows all object values in rpt_lib.but it is not go to the particula class initialization.
- m_uiREPORT_CONFIG.LAUNCH(intREPORT_INDEX, mintSITE(cboSITE.SelectedIndex))
- 'here it gives error msg like "Object variable or With block variable not set.". but actually it needs to go to the particular RPT_LIB.Launch procedure.
Public guiEXCHANGE As XCHANGE.EXCHANGE
..................... Calling............
guiEXCHANGE = New XCHANGE.EXCHANGE.
it works fine.
any one please help me with this.