Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27514

VS 2010 How come this doesn't work?

$
0
0
I am making a simple program where they need to guess two names. If they don't guess either one of the names then they lose. How come this code doesn't work?

Code:

        If TextBox1.Text <> "Owen" Or "Toban" Then
            MessageBox.Show("Incorrect!")
        End If


Viewing all articles
Browse latest Browse all 27514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>