Hello Guest November 26, 2024, 19:23:25 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1]   Go Down

Author Topic: Guess the number code for VB2005  (Read 1243 times)

Graeme Heddle

  • Forum member
  • Posts: 161
Guess the number code for VB2005
« on: February 20, 2009, 10:28:49 »

Does anyone have a code for a 'guess the number' game for Visual Basic 2005, I'm needing it for my computing class ASAP.  :)
Logged

thanks to Captain Bluebeard for the sig

Second Mate

  • Guest
Re: Guess the number code for VB2005
« Reply #1 on: February 20, 2009, 13:52:19 »

you could try 42 ........ its the answer to everything
Logged

TerryRussell

  • Guest
Re: Guess the number code for VB2005
« Reply #2 on: February 20, 2009, 16:23:45 »

What are you after, exactly? Do you mean you want to know how to use the rnd function?

Google is your friend...
Logged

mvsmith

  • Guest
Re: Guess the number code for VB2005
« Reply #3 on: February 20, 2009, 16:58:24 »

you could try 42 ........ its the answer to everything

Is that the best you can do after 7 ½ million years?
Logged

Person264

  • Forum member
  • Posts: 789
Re: Guess the number code for VB2005
« Reply #4 on: February 20, 2009, 17:42:25 »

I think some Deep Thought is required to learn something like that. Terry how long did it take you to learn machine code, if you don't mind me asking?
Logged

TerryRussell

  • Guest
Re: Guess the number code for VB2005
« Reply #5 on: February 20, 2009, 20:16:12 »

Terry how long did it take you to learn machine code, if you don't mind me asking?

0010011100111000
or possibly
FF01
AC16
6000
BBA3

Actually, when I first started it was with ALGOL 60, which is only a step above Machine Code. A few years later, when microprocessors first came out, they were just 4-bit devices, rather like the RISC PICs of today only more primitive. The only way to communicate with them was to blow EPROMS and talk using Machine Code.

Back then, there was only Machine Code. I upgraded to 8086 and Z80 programming eventually, and moved into the current WinTel stuff.
Logged

Graeme Heddle

  • Forum member
  • Posts: 161
Re: Guess the number code for VB2005
« Reply #6 on: February 21, 2009, 19:40:48 »

No, I mean a program to run a 'guess the number' game.
Logged

thanks to Captain Bluebeard for the sig

TerryRussell

  • Guest
Re: Guess the number code for VB2005
« Reply #7 on: February 21, 2009, 21:38:36 »

As it's for your classwork, I won't do your homework for you.

Otherwise, you'll never learn for yourself, surely?
Logged

Graeme Heddle

  • Forum member
  • Posts: 161
Re: Guess the number code for VB2005
« Reply #8 on: February 21, 2009, 21:58:43 »

No, my teacher said we had to try and find a program on the internet and I just don't have the time to spend hours looking for one, I was just wondering if anyone on here knew one.
Logged

thanks to Captain Bluebeard for the sig

TerryRussell

  • Guest
Re: Guess the number code for VB2005
« Reply #9 on: February 21, 2009, 22:03:46 »

I just typed

"VB random numbers"

into Google and the very first one looked ideal. Surely you can do that?
Logged

Graeme Heddle

  • Forum member
  • Posts: 161
Re: Guess the number code for VB2005
« Reply #10 on: February 21, 2009, 22:05:14 »

Ok i'll try that thanks. :thumbs:
Logged

thanks to Captain Bluebeard for the sig
Pages: [1]   Go Up
 
 


SMF 2.0.14 | SMF © 2017, Simple Machines