|
-
Aug 8th, 2003, 08:31 AM
#1
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|