Welcome to Dream.In.Code
Become a VB Expert!

Join 137,228 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,896 people online right now. Registration is fast and FREE... Join Now!




SLOT MACHINE ASSINGMENT ----HELP

 
Reply to this topicStart new topic

SLOT MACHINE ASSINGMENT ----HELP, ASAP HELP PLEASE

rubi150
20 Feb, 2007 - 03:51 PM
Post #1

New D.I.C Head
*

Joined: 20 Feb, 2007
Posts: 2


My Contributions
PLEASE SOMEONE HELP ME WITH MY VIDUAL BASIC PROGRAM...
I HAVE TO MAKE A PICTURE SLOT MACHINE. OK MY TEACHER IS SO BAD AND DON'T WOTN TO HELP ME SO I AM FOR FIRST TIME HERE ASKING.....PLEASSSSE IF ANYONE CAN HELP ME WITH THE CODE TO MAKE THIS.MY TEACHER SAID THAT IT HAS TO HAVE FOUR IMAGE BOXES EACH CONTAINING 10 PICTURERS. AND YOU R START IN MONEY SHOULD BE 500. SO PLEASE IF ANYONE HAS ANY IDEA HOW TO MAKE THIS ...PLASE ANSWER ASAP.....IT IS DUE SOON....THANK YOU ...

User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: SLOT MACHINE ASSINGMENT ----HELP
20 Feb, 2007 - 04:02 PM
Post #2

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 14,970



Thanked: 48 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
-Caps Lock
User is online!Profile CardPM
+Quote Post

NickDMax
RE: SLOT MACHINE ASSINGMENT ----HELP
20 Feb, 2007 - 04:24 PM
Post #3

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,859



Thanked: 50 times
Dream Kudos: 550
My Contributions
Well to get started find 10 pictures that are the same size. Add then to your resourse file. Make a Dialog with 4 picture boxes, a lable, and a button on it.

The picture boxes will hold the pictures (ha ha). The button will spin. The Lable will tell the user how much money is left.

Now deside what the the *win* condition are.

Most of your code will go into the click procedure for the button. you need 4 variable to determine what pictures to display (I am assuming that there is no "rolling picture" required). Set each variable to a random number between 0 and 9 and use that to select what picture to display. Then check the win conditions to see if the variables meet any of them. If not, subtract from the users total, else add to it.

The rest is up to you.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/4/08 03:07PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month