by Dustifer (1 Submission)
Category: Games
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Fri 19th May 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Basic guess the number game!
'I am a 12 year old kid who sits at his computer all day
'you will need: 1 textbox, 1 label(optional), and 1 command button.
'make the textbox name "txtnumber"
'make the command button name "cmdguess"
'if you have a label name it "labeloutcome"
'paste this code into the command button
dim intpress as integer
If txtnumber.text = "3" then
Labeloutcome.caption = "Great job!"
Else
MsgBox "Nope!"
end if
end sub
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
= This is your basic guess the number game!!!!!! have fun +
+ with it! =
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+