Monday, March 12, 2007

Starting Right Away!

You guys probably know that everytime you run the program, there'll be like "RadioButton1," "RadioButton2," etc. To get into the "game," you'd need to click the "Next" button. This is a fix so that you can start the game straightaway.

Under Form1_Load(), add at the very bottom:

NextRecord()

So that it'll look like:
m_aAllRecordsArray = Split(m_sAllRecords, vbNewLine)
NextRecord()
End Sub

Next, cut all contents from the function, Button1_Click and paste it in a new function called, NextRecord().

Finally, in the "command-less" Button1_Click function, add:
NextRecord()

So it looks like:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
NextRecord()
End Sub



Done.

No comments: