I just downloaded VB 2010, installed and activated it, and tried this snippet of code -
Public Class Form1
Dim item1 As String
item1 = "test"
End Class
In the line item1 = "test" there's a blue squiqqly line under 'item1' and down in the error window it says a declaration is expected. This seems simple enough, did I do something wrong or is the installation bad?
Public Class Form1
Dim item1 As String
item1 = "test"
End Class
In the line item1 = "test" there's a blue squiqqly line under 'item1' and down in the error window it says a declaration is expected. This seems simple enough, did I do something wrong or is the installation bad?