This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: button e. The program contains an error that VB in the IDE will detect. _______ 3.  Identify any errors in the following code. 1 | Dim num As Double 2 | num = InputBox(“Pick a number from 1 to 10.”) 3 | txtOutput.Text = “Your number is ” & num 1) InputBox in line 2 requires a title string as the second literal string inside the parentheses 2) Output Text Box requires the property to be strings *3) Line 2 needs to convert string from InputBox to CDbl 4) No errors. 5) None of the above....
View Full Document
- Spring '09
- Baseball statistics, d. lblDisplay, Output Text Box