Variables

Markoleo

Member
Joined
Aug 5, 2006
Messages
19
Programming Experience
Beginner
General/Declarations

Option Explicit On

Dim a As Integer
Dim b As Integer
Dim c As Integer

and show mi "Statements is not valid in a namespace"

before is work, but now don't work.
please help me.
 
Are you placing this information BELOW the Class [ClassName] It sounds like you have placed this about the module or class declaration. If you want, copy all of the code from the top of the code document down about 10 lines and reply here.
 
VB.NET:
Option Explicit On
Option Strict On

Friend Class Form1
  " Windows Generated Code "
  Private a As Integer
  Private b As Integer
  Private c As Integer

  Private Sub whatever

  End Sub
End Class
 
Back
Top