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