i want to customize my own error box and message when an error occur in calling a function .
i try to use try catch an exception but not doing anything
Try
L = objGeoFlowDLL.GFCalc_Main(nInputs, nOutputs, sngInputs, sngOutputs)
Catch ex As Exception
MessageBox.Show(ex.Message)
' Me.Close()
Finally
End Try