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.
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.