I am using try..catch for error handling. I am getting the message displayed as
messagebox.show (ex.tostring)
But it gives very long message.
Is it possible just to get only the actual error or I could give my own modified message, based on what ex contains?
Thanks
Use Exception.Message property.