Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21251

Repeating Random..

$
0
0
hi guys any one can help me out for this problem..
i create a fuction to generate all the question. also this fuction have a random how can i put a code to break the repeting random.. thanks
here my sample code

Code:

Public Function Generat1n()
Dim j As Integer

Open App.Path & "\Questions.mezz" For Input As #1

j = Int(Rnd * 12)
For i = 0 To R
Line Input #1, question
Next i
Label1.Caption = question
Close #1

End Function


what will i insert code and where i will put?

Viewing all articles
Browse latest Browse all 21251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>