Public == Available to everyone who can access the class
Private == Available only within the class where the function/variable is
declared
protected = Available only within the class, or any class that is derived
from the class
--
Manohar Kamath
Editor, .netBooks
www.dotnetbooks.com
"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:eE**************@TK2MSFTNGP12.phx.gbl...
Hello,
What is the difference of using:
Sub function()
Public Sub function()
Private Sub function()
Protected Sub function()
I place all my functions in my aspx.vb files but I have some problems when
deciding when to use Public, Private, Protected or none.
Thank You,
Miguel