I am in a computer proggraming class and we are sadly using vb 6. For extra credit I created a "who will win" superbowl program and I need a code to make a random vote for either team. If you know this code plz post thank you
Printable View
I am in a computer proggraming class and we are sadly using vb 6. For extra credit I created a "who will win" superbowl program and I need a code to make a random vote for either team. If you know this code plz post thank you
dont you have any ideas on how to make this code for yourself?
i'd like to quote someone on this matter, he once posted
Quote:
Two, we don't write apps for people, even if they aren't hard to do. If we do the work for you, would you learn anything?
Fourth, after you try to get something working, and run across a problem, post the code, the error, and the error line. Someone will try to help you resolve it.
wow okay that was totally pointless if i see it and copy it then i will remember it.
as what lerroux had said, we don't create app for others, we just help them if they encountered problems with their codes,
but i'l give you a hint, to generate random numbers, use the rnd command
create it, dont ask for it, and when you have some problems with your code, ask for help and i'm sure vbforums members will be more than glad to give you their ideas to help you do it
okay
now that would totally help...i'm sorry but we really dont make codes... we just help make the codes
Have a look in MSDN for the 'Randomise statement' and the 'Rnd Function' and play with the results.
You have to start somewhere.