Hi. I'm totally new to programming. Anyway, I'm a teacher and am writing a program that simply shows kids a word on a flashcard. There are 2 buttons, 1 to read the word and 1 to go to a new work. There are going to be 300 words.

Really I'm just testing it right here. What I want to know is should I be inputting all the words right into the code like I did with "hi" and "not 1" (Don't ask. those are just the 2 random words I picked to test this out with).

OR is there a better way (maybe somehow to type all the words on a text file and have the program randomly pull one of them (I don't know how to do this).

Here is the code so far:

Public Class Form1
Dim word
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim random As New Random
Dim num As Integer
num = random.Next(1, 3)
If num = 1 Then Label1.Text = ("hi")
If num <> 1 Then Label1.Text = ("not 1")
word = num
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
If word = 1 Then My.Computer.Audio.Play(My.Resources.hi, AudioPlayMode.Background)
If word <> 1 Then My.Computer.Audio.Play(My.Resources.not_hi, AudioPlayMode.Background)
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub
End Class