<body>
Knock You Down

CALL ME

Firshady is back
and where are my MUSIC?

.


MusicPlaylist
Music Playlist at MixPod.com

.
STAY? or kindly leave

msnfacebook • •

RockStaR

Tweet Me Tweet
    follow me on Twitter

    AFFILIATES
    CTpOmPAN FEona Munchkin MiA SHima RoXane HafEez HAiqal MIraLicious AriFF MUgIono TarMIzi Si Eyra HAZIRAH FarAh Maryam MJ AmInNad NanAzam DiAn NINa MAisarah fyQah Nadeerah YvoNNe ShaKiLLA Fanana ShaHid SaKina
    flashbacks
    August 2008 September 2008 October 2008 November 2008 December 2008 January 2009 February 2009 March 2009 April 2009 May 2009 June 2009 July 2009 August 2009 September 2009 October 2009 November 2009 December 2009 January 2010 February 2010

    CREDITS
    Designer: nic96ole
    Others: one two
    TAGBOARD
    Monday, November 17, 2008 @ 11:12 AM
    Public Class Form1
    Dim mysteryword As String
    Dim wordbank(2) As String 'array '(numbers)refers to how many we things we want to store 'start from 0
    Dim entry As String
    Dim i, n As Integer
    Dim r As New Random

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    wordbank(0) = "pluto" 'the word we store
    wordbank(1) = "mars"
    Label1.Text = "?????"
    i = r.Next(0, 2)
    mysteryword = wordbank(i)
    Label1.Text = wordbank(i)
    Label1.Text = ""
    End Sub
    Private Sub Check_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Check.Click
    Dim entry, location
    entry = TextBox1.Text
    location = mysteryword.IndexOf(entry, 0) 'start to check for the answer from 0
    If location >= 0 Then
    Label1.Text = Label1.Text.Remove(location, 1)
    Label1.Text = Label1.Text.Insert(location, entry)
    Else
    Life.Text -= 1 'life
    History.Text &= " " & TextBox1.Text 'when guess wrongly
    End If
    TextBox1.Text = " "
    If Life.Text = 0 Then
    MsgBox("You Got It WRONG.") 'pop up msg for wrong answer
    End If
    If Life.Text = 0 Then Button1.Enabled = True
    If Button1.Enabled = True Then Life.Text = 5 'restart life
    If Button1.Enabled = True Then History.Text = ""
    If Button1.Enabled = True Then Label1.Text = ""
    End Sub
    Private Sub Solve_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Solve.Click
    Dim a As String
    a = InputBox("", "") 'trial & error
    If a = mysteryword Then
    MsgBox("Fantastic!") 'pop up msg for correct answer
    Label1.Text = mysteryword
    Else : MsgBox("You got it wrong.") 'pop up msg for wrong answer
    End If
    ' dont know how to make the questions marks change.
    End Sub
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Button1.Enabled = False
    i = r.Next(0, 2)
    mysteryword = wordbank(i)
    Label1.Text = wordbank(i)
    Label1.Text = ""
    For n = 1 To mysteryword.Length 'example n=1 to 7 then 7 ???????
    Label1.Text &= "?"
    Next
    End Sub
    End Class

    Labels: