Here I got a few simple tricks. Some are probably pretty hard to understand but
I hope you will work it out. You maybe think that these tricks would be better
if they were explained better but this section
I hope there is something for everyone. Happy hunting:
Text1.Text = vb3.txt
Text2.Text = vb4.txt
Name Text1 As Text2
Delete the last character in a textbox:
Text1 = Left(Text1, Len(Text1) - 1)
Check Mousebutton:
If Button = 1 Then MsgBox "You have pressed the LEFT button"
If Button = 2 Then MsgBox "You have pressed the RIGHT button"
If Button = 3 Then MsgBox "You have pressed the LEFT and RIGHT button"
If Button = 4 Then MsgBox "You have pressed the MIDDLE button"
If-Then:
If Text1.Text = Text2.Text Then
Text3.Text = "Hello world"
End If
Do-While:
HomeAlone = True
Do While HomeAlone = True
Text1.Text = "Are your parents home?"
If txtAnswer.Text = "Yes" Then HomeAlone = False
Loop
Do Loop While:
HomeAlone = True
Do
Text1.Text = "Are your parents home?"
If txtAnswer.Text = "Yes" Then HomeAlone = False
Lopp While HomeAlone = True
Do Until:
HomeAlone = True
Do Until HomeAlone = False
Text1.Text = "Are you home alone?"
If txtAnswer.Text = "No" Then HomeAlone = False
Loop Select Case:
Dim Grade as string
Select Case Grade
Case "A": Label1.Caption = "WOW"
Case "B": Label1.Caption = "Very Good"
Case "C": Label1.Caption = "OK"
Case else: Label1.Caption = "You Suck" LoadPicture: