Why doesn't this work?.
Private Sub Text1_Change()
IF (Message153.text = "Lol") THEN
MsgBox "Wow"
ElSEIF (Message153.text = "wow")
MsgBox "lol"
END IF
END Sub
VB help
Re: VB help
is this the entire code? If so then you haven't declared the variable Message153.text. You need to give the variable a value before you can run a test on it like this. Try adding "Dim Message153.text as string = "Lol" before the If statement. And I may be wrong but i think you need to type MessageBox.show() not MsgBoxLiidian wrote:Why doesn't this work?.
Private Sub Text1_Change()
IF (Message153.text = "Lol") THEN
MsgBox "Wow"
ElSEIF (Message153.text = "wow")
MsgBox "lol"
END IF
END Sub
Private Sub Text1_Change()
Dim Message153.text as string = "Lol"
IF (Message153.text = "Lol") THEN
MessageBox.show("Wow")
ElSEIF (Message153.text = "wow")
MessageBox.show("lol")
END IF
END Sub
Re: VB help
KK Thanks ^^plope0726 wrote:is this the entire code? If so then you haven't declared the variable Message153.text. You need to give the variable a value before you can run a test on it like this. Try adding "Dim Message153.text as string = "Lol" before the If statement. And I may be wrong but i think you need to type MessageBox.show() not MsgBoxLiidian wrote:Why doesn't this work?.
Private Sub Text1_Change()
IF (Message153.text = "Lol") THEN
MsgBox "Wow"
ElSEIF (Message153.text = "wow")
MsgBox "lol"
END IF
END Sub
Private Sub Text1_Change()
Dim Message153.text as string = "Lol"
IF (Message153.text = "Lol") THEN
MessageBox.show("Wow")
ElSEIF (Message153.text = "wow")
MessageBox.show("lol")
END IF
END Sub
The whole "system" is a number of people creating a code all together, this code loops and is there for a "system".
System Zero could also be confirmed with one word "Hacker's"
System Zero could also be confirmed with one word "Hacker's"