Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

Is something wrong with my VB download?

$
0
0
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?

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>