I am currently trying to use the Integer Try Parse Method to convert strings entered via an inputbox so that they can be put into an array. However, when I try the following code:
Dim Count As Integer
I get the error message: Overload resolution failed because no accessible 'TryParse' accepts this number of arguments.
How do I fix this?
Dim Count As Integer
Code:
For Count = 0 To domestic.Length - 1
domestic(Count) = Integer.TryParse(InputBox("Keep entering the sales for each month. If nothing typed, will be interpeted as zero", "New data entry"))
Next CountHow do I fix this?