Hi Folks,
I'm using
VB 2005 for web page development. I can't get an darn thing to compile in here. It's like upsidedown world. This compiles:
Code:
Imports Microsoft.VisualBasic
Public Class Class1
Dim mystr As String = "bla"
End Class
whereas, this won't:
Code:
Imports Microsoft.VisualBasic
Public Class Class1
Dim mystr As String = ""
mystr = "bla"
End Class
Nor will:
Code:
Imports Microsoft.VisualBasic
Public Class Class1
Dim mystr As String = "bla"
mystr = "somethingelse"
End Class
They both give the same declaration expected error:
error BC30188: Declaration expected.
Please help me out of this dark land.