Which line of the following code contains an error?
1 public Sub Command1_Click()
2 Dim str As String
str = "Hello World"
3 i = val(str)
4 length = len(str)
5 Msgbox "No Of Characters in " & str & " = " & CStr(length)
6 End Sub
Correct Answer: Error on line 3
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Visual Basic 6 MCQ Questions