Statement is Not a Valid Namespace
I am new to VB and VB.NET so be gentle.
I am trying to declare 2 global variables in the general declaration section of my code as follows:
Option Explicit On
Public Const gcstrServer As String = "Server" & vbLf _
Dim txtLogon As String = "MS Exchange Server"
--------------------------------------------------------------------------
This is giving me an error for both variable declarations:
"Statement is not a valid namespace"
What am I doing wrong? Any advice is much appreciated
Many Thanks
Mike Jones