try { //your code here... } catch(Exception ex) { Button1.Enabled = false; }
Try 'Your code goes here Catch ex As Exception MessageBox.Show(ex.Message) End Try
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)