Making components

  • Thread starter Thread starter Aparna Sinha via .NET 247
  • Start date Start date
A

Aparna Sinha via .NET 247

Dear all,
In vb.net how do you make components which has code reusable, but the entire source code is not visible to the programmers.In the sense, only one or two functions may be accesible to a programmer but not the entire source code of dll
 
Hi,
In simple terms, create a class-library (Assembly DLL) type project and
encapsulate the logic/functions you want to have using classes. Apply
private access modifiers for the class methods, properties,etc you want to
hide, and public for methods, properties, etc you want to expose to others.
And you distribute this class library (DLL) to other developers for their
use.

You might want to refer to MSDN for more info on the access modifiers.

I hope I got the question correctly.


Dear all,
In vb.net how do you make components which has code reusable, but the
entire source code is not visible to the programmers.In the sense, only
one or two functions may be accesible to a programmer but not the entire
source code of dll
 

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

Back
Top