Thursday, September 10, 2009



i used visual basic
i got a label and a button i named it click me
then i copyed the code given, changed the text box thing to label
then double click on label and copyed the code onto the label section and then change the code again from textbox to label
i then changed the background from normal to green

happy sad



for the happy and sad thing i used visual basic.
i used 2 buttons and 2 picture boxes
i labeled one of my boxes happy and the other sad
i put a happy and sad face on the pictureboxes.
i then double clicked on the buttons and then types : picturebox 1/2 visible= true/false (depending on happy or sad)i did it to the other button code.
the i clicked on the picturebox and put false on it so the pictures dont show up when you first open it

Tuesday, September 1, 2009

HEADS and TAILS



I used visual basic to create the heads or tails, i changed the back ground to purple, then i got one button it was the check button, this is the code i used:
If TextBox1.Text = "heads" Then Label1.Text = "win"
If TextBox1.Text = "tails" Then Label1.Text = "lose"


then i put a label on it for the win lose thing
then i put the text box to type heads or tails

HIDE AND SEEK



I used visual basic to do this because i had to, i had 2 buttons and they work when you click then, when you click hide the image disappears and when you click seek the image reappears. i used a picture box and imported a local image, which hides and seeks.

This code hides the picture.
PictureBox1.Visible = False

This code makes the image appear
PictureBox1.Visible = True