Conversion of VISUAL STUDIO codes in vb.net RRS feed

  • Question

  • User-1578974752 posted

    I am changing grid view code from 2003 to VS 2015.i COPIED BUT objEClaim.ValidateApprover showing error in the below code.

    If objEClaim.ValidateApprover(objErr, m_sCorpCode, m_sEmpNo, cboApprover1, cboApprover2, cboApprover3, udtApprList) = False Then
    Call DisplayErrorAlertByErrorObj(litError, objErr)
    Call LoadClaimRecord()
    GoTo Exit_Sub
    End If

    Other error are showing in objEclaim.SetInputControlsLookupCodes,objEclaim.SetPageTitle .Is it because the codes in 2003 have to be updated

    Friday, March 9, 2018 8:56 AM


All replies

  • User475983607 posted

    You are showing an ActiveX object.  Either objEClaim is configured as a COM+ object or a registered DLL. 

    The following doc explains how to access ActiveX in .NET.


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 9, 2018 1:00 PM
  • User-1838255255 posted

    Hi shsu,

    According to your description, i think your code isn't complete, so i am not clear your needs. I hope you could tell us your needs(with complete sample code) and paste the exception message. 

    Best Regards,

    Eric Du 

    Tuesday, March 13, 2018 7:52 AM