Posted by maisy on 19:17:00 04-12-2003
im making a game (20 q's) and im using vb and i have typed so many q's into a text file and now i need them to appear along with the 4 different answer options. please help me with this small problem i have. thank you.
Posted by dxprog on 08:06:00 04-13-2003
Basically what you do is load the questions up into an array (dim a blank array and redim later). If you wanted you could make that array a type like:
Type Question
sQuestion As Stirng
sAnswer1 As String
 l sAnswer2 As String
(I think you get the point )
THen all you need to do is access the random location within the aray. I hope that helps you
[addsig]
Posted by rgndrp on 06:11:00 05-21-2003
some code to actually create a random number:
Randomize
random_number = Round(Rnd() * 100)
MsgBox (random_number)