reference to a non-shared member requires an object reference btn code example Example: reference to a non-shared member requires an object reference vb.net Dim gen = New General()