hendrikbez
Active member
I have two text boxes that I put in.
textbox 1 I type in clue
textbox 2 I type in answer.
This is my code.
How can I make it that I can sace boths of them togeter, as a clue must always have an answer, so that when I read the clue it must show the answer to me.
The clue can also have more than one correct anwser, how does that work.
textbox 1 I type in clue
textbox 2 I type in answer.
This is my code.
VB.NET:
Private Sub BtnCodes_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCodes.Click
System.IO.File.AppendAllText("C:\Do_It\clue.txt", Environment.NewLine & txtClue.Text)
Cls_MessageBbox.Show("Die Luidraad" & Environment.NewLine & txtClue.Text & Environment.NewLine & "is bygevoeg in txtClue.Txt")
txtClue.Text = ""
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
System.IO.File.AppendAllText("C:\Do_It\answer.txt", Environment.NewLine & txtAnswer.Text)
Cls_MessageBbox.Show("Die Antwoord" & Environment.NewLine & txtAnswer.Text & Environment.NewLine & "is bygevoeg" & Environment.NewLine & "in Answer.txt", txtAnswer.Text)
txtAnswer.Text = ""
How can I make it that I can sace boths of them togeter, as a clue must always have an answer, so that when I read the clue it must show the answer to me.
The clue can also have more than one correct anwser, how does that work.
Last edited: