• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

vb.net friend, etc

I have noticed that on the textbox property there is a section called:
Design

Under design there is Name, Locked, and modifiers

It always says friend. If I go to the dropdown box I can change it to private, etc. what does that do and please elaborate on it.


Thanks
0
peanut1010
Asked:
peanut1010
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
It won't change anything on your form. But forms that inherits from the form on which the textbox is will have access or be blocked depending on this property setting. See the help for all the details.
0
 
Tanglin05Commented:
Here is a more complete reference from MSDN:

Friend
--------
Structures declared with the Friend keyword have friend access. They are accessible from within their declaration context and from anywhere else in the same program.

For complete listing and explanation of the different enumerations, go to:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmStructure.asp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now