Örneğin Form_Load olayına veya Sonraki, Önceki düğmelerinin tıklandığında olaylarına;
If Me.TextBox1.Text < Me.TextBox2.Text Then
Me.TextBox3.Text = "İKİNCİ YAŞ BÜYÜK"
ElseIf Me.TextBox1.Text > Me.TextBox2.Text Then
Me.TextBox3.Text = "İKİNCİ YAŞ KÜÇÜK"
ElseIf Me.TextBox1.Text = Me.TextBox2.Text Then
Me.TextBox3.Text = "YAŞLAR EŞİT"
End If
gibi.