1
How to run code if textbox1 result is equal to 1, and exit system if it is not equal to 1? (VB.NET)

Open 1 Answers 88 Views Software and Applications
How to run code if textbox1 result is equal to 1, and exit system if it is not equal to 1? (VB.NET)

1 Answer

0

Try this (code below);
    If TextBox1.text = "1" Then
        msgbox("RUN CODE") 'run code sample here is a message box
    Else
        end 'any result other than 1 will exit the system
    End If

cool

answered Jun 27, 2016 by techydenz New Member (2,240 points)
...