'Me' is valid only within an instance method: Which keyword to use?

  • Thread starter Thread starter Pieter
  • Start date Start date
P

Pieter

Hi,

Using VB.NET 2005:
When you use a Me.MyFunction to a Shared Method, you het the error "'Me' is
valid only within an instance method.". Which is normal.

But: Which keyword can you use instead of the "Me" to refer to a Shared
Method in the same Class? Because without the "Me" you can't use the
intellisense-stuff, and I don't like to go copy paste methods or remember
there names :-)

Is there a way to get around this?

Thansk a lot in advance,

Pieter
 
Because without the "Me" you can't use the intellisense-stuff, and I don't like to go copy
paste methods or remember there names :-)

Also note that pressing Ctrl + j will bring up the intellisense menu.

Thanks,

Seth Rowe
 
Back
Top