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

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
 
R

rowe_newsgroups

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top