In a AsyncCallBack Procedure, I need to change the enabled property of the button to false. I tried using Reflection.Prop ertyInfo.
The Code goes like this
Code:
Dim pi As System.Reflection.PropertyInfo = btnLogin.GetType.GetProperty("Enabled")
pi.SetValue(btnLogin, False, Nothing)