• 0

Fill in blanks visual basic


Question

Fill in the blanks for the following code to edit textbox input for numeric value, convert the input to an integer, multiply the number by 6 and add 2, then output to label.

Dim intVal, intAnswer As Integer

 

If IsNumeric Then
            intVal = (txtInput.Text)
            intAnswer =
            lblAnswer.Text = CStr()
        Else
            MessageBox.Show("Pleaser a numeric value")
        End If

Link to comment
https://www.neowin.net/forum/topic/1172795-fill-in-blanks-visual-basic/
Share on other sites

2 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.