Need Help in VB

rochel1977

Well-known member
  • May 15, 2006
    11,466
    2,673
    113
    AKL, NZ and Kandy
    Guys. I need a small help in VB. I need to convert Celcius in to Ferhanhite like the GUI below. I made the code even. but there is something wrong. Pls help

    this is the code i typed

    Private Sub Command1_Click()
    txtInput.Text = ""
    Sum = (txtInput.Text - 32) * 5 / 9

    lblOutput.Caption = "Celcius Equivalent" & Sum


    End Sub

    the GUI is like this and when i input the data the out put should come like in the second picture.

    new1yi9.jpg