Well I ran into a problem in VB.net.. I'm trying to make it where 2 different textboxes will accept multiple strings and a MsgBox would still popup..Also i'm using a method where when the program closes the text inside of the textboxes will be saved if the checkbox is checked.
[php]
If (textbox1.text = "example" and textbox2.text = "example2") or (textbox1.text = "owie" and textbox2.text = "yo") or (textbox1.text = "rage" and textbox2.text = "noobs")
//and so on..and after that I have
Then
If CheckBox1.Checked = True Then
My.Settings.Text1 = Textbox1.Text
My.Settings.Save()
My.Settings.Reload()
End If
If CheckBox1.Checked = True Then
My.Settings.Text2 = Textbox2.Text
My.Settings.Save()
My.Settings.Reload()
End If
MsgBox("Example of use.", MsgBoxStyle.Information, "")
ToolStripStatusLabel5.Text = "-hiya"
Else
MsgBox("Information is incorrect", MsgBoxStyle.Critical, "")
[/php]
But every time I enter the info, I always get the Information is incorrect message box..I have tried many different ways and googled it, but i always get the same result..Any ideas?
/