473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Making components

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
--------------------------------
From: Aparna Sinha

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>aaKkxwVTxUK5IFVn2WwqyA==</Id>
Nov 21 '05 #1
1 979
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.
"Aparna Sinha via .NET 247" <an*******@dotnet247.com> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
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
--------------------------------
From: Aparna Sinha

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>aaKkxwVTxUK5IFVn2WwqyA==</Id>
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Yasutaka Ito | last post by:
Hi, As you know, all the non-ui components (like Timer control, etc.) that sit on the form are contained in its private variable 'components'. How can I enumerate such components from any form...
4
by: james | last post by:
I have a custom UserControl, which can have many sub class levels derived from it. I want to be able to discover all the components at Load time, but the only components I can see from the base...
10
by: Jeff Grills | last post by:
I am an experienced C++ programmer with over 12 years of development, and I think I know C++ quite well. I'm changing jobs at the moment, and I have about a month between leaving my last job and...
1
by: Chris Langston | last post by:
We are seeing a very frustrating intermittent problem. We are making Synchronious web service method calls from a .NET windows Service using the following syntax WebRequest.getResponse call it...
3
by: Husam | last post by:
Hi EveryBody: How can I make trial version for my Vb.Net application, I want this version stop running after 15 days from its installation in the target machine ,how can i do that ? any help...
7
by: Chris Lieb | last post by:
Hello, Does anyone know if there are any IIS components out there that run on IIS 5.0 that will convert LaTeX to PDF? I have written a script in ASP that produces the LaTeX document, but am...
90
by: Ben Finney | last post by:
Howdy all, How can a (user-defined) class ensure that its instances are immutable, like an int or a tuple, without inheriting from those types? What caveats should be observed in making...
34
by: Asfand Yar Qazi | last post by:
Hi, I'm creating a library where several classes are intertwined rather tightly. I'm thinking of making them all use pimpls, so that these circular dependancies can be avoided easily, and I'm...
10
by: Cain | last post by:
Is making your own content mangement system a good idea?
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.