I am currently learning Visual Basic programming.
to learn, a friend taught me some things:
agreement window
Buttons to open other forms
and a simle 'dice' game.
though i wanted an highscore on the dice game and did this:
if form3.highscore.caption < form3.score.caption then
form3.highscore.caption = form3.score.caption
msgbox "new highscore!"
end if
however, this will result in 9 as the perfect score.
10, 11 and 12 are not higher according to the program (if you get it, it wont see that as highscore)
can anybody help me with this?
i can send the program itself or the source code if you need it.
to learn, a friend taught me some things:
agreement window
Buttons to open other forms
and a simle 'dice' game.
though i wanted an highscore on the dice game and did this:
if form3.highscore.caption < form3.score.caption then
form3.highscore.caption = form3.score.caption
msgbox "new highscore!"
end if
however, this will result in 9 as the perfect score.
10, 11 and 12 are not higher according to the program (if you get it, it wont see that as highscore)
can anybody help me with this?
i can send the program itself or the source code if you need it.