TDBDropDown. Error event's Response parameter

Posted by: juan.ome on 30 January 2020, 6:29 pm EST

    • Post Options:
    • Link

    Posted 30 January 2020, 6:29 pm EST

    Hi,

    We are migrating from vb6 to vb.net. In vb6 we are using the response parameter to cancel the operation and not return an error, setting 0 on it, for example:

    Private Sub TDBDropDown1_Error(ByVal DataError As Integer, Response As Integer)

    Response = 0

    End Sub

    in vb.net there is no error event. How can we replicate that?

    because of the migration, it is too hard to do try-catch to handle it, because we must to insert a lot of code.

    thanks in advance,

    Claudia Posso

  • Posted 31 January 2020, 7:23 am EST

    Hi,

    As we said earlier that both the controls are from different technology so there may be architectural changes in both the controls, that is why Error event does not exist for TrueDBDropDown and you need to handle the errors using try-catch block only.

    Regards,

    Prabhat Sharma.

  • Posted 31 January 2020, 8:47 am EST

    thanks Prabhat

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels