No I don't mean a global variable. I mean just what I said. A variable declared inside a method (Sub, Function or the Get or Set of a property) is a "local variable" while anything declared outside is a "member variable", also known as a "field". Any properties, methods, events, non-local variables, etc, that you declare within a type, e.g. a form, are all known as members. E.g.
Originally Posted by moynzzee
Public Class SomeType
Private memberVariable As Object
Public Sub SomeMethod()
Dim localVariable As Object