I have written this code for a guessing game but it doesn't clear the message box to allow for a new guess.
Any suggestions would be appreciated.
Dim intIndex As Integer
Dim intGuess As Integer
Dim intIndexCount As Integer
intIndexCount = 1
intGuess = txtGuess
Do While intGuess <>...
I need to write a program that adds numbers in sequence that add up to 10000. My problem is that I don't know how many numbers it has. I have been racking my brains trying to figure out how to do this. I figured a For,Next with a Do while loop in the for next but how do I write these numbers...
I can't seem to get this program to work I am not too familiar with randomizing with strings. I have done it several times with numbers. How can I make this work.
Dim Answers$ (1 to 8)
RANDOMIZE -TIMER
CLS
OPEN "reply.txt" FOR OUTPUT AS #1
WRITE #1 Yes
WRITE #1 seldom
WRITE #1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.