I was using this code below with a regular textbox to check if it was empty and was working fine but now I have updated the regular textbox to a maskedtextbox since it was the better choice for this situation.
What can I use instead?
I was assuming that I can use MaskCompleted.Equals but I do not know how to finish the statement..
how can I make it so that if it equals False? I tried
If PHONE.MaskCompleted.Equals = False Then
but this does not work.. it seems that it should but does not, and I am not sure how to complete it.
Code:
If String.IsNullOrEmpty(PHONE.Text) Then
MsgBox("Please Enter Your Phone Number..")
I was assuming that I can use MaskCompleted.Equals but I do not know how to finish the statement..
how can I make it so that if it equals False? I tried
If PHONE.MaskCompleted.Equals = False Then
but this does not work.. it seems that it should but does not, and I am not sure how to complete it.