Chapter 4 building Classes and assemblies with

Source: Internet
Author: User
Building Classes and
Assemblies with
During the last three or so years, most VB developers have
Spent a great percentage of their time building COM compo-nents.
These components are used as the Middle-tier compo-nents
In N-tier systems. The benefits of building N-tier
Applications are-known, and include:
Code Reuse
elimination of many or all distribution headaches
encapsulation of business logic to control business
Processes and access to databases
Not surprisingly, lets your build components, but
They are no longer COM components. COM components
Have certain elements such as class IDs (s), type
libraries, and interface IDs (s). Each class in a COM com-ponent
has to support IUnknown and IDispatch. refers to one or more classes compiled into a file as
A class library, rather than a COM component. Class Libraries
are compiled into a assembly, which often has a. DLL exten-sion.
You can use the classes from the class library
You are would the classes from a COM component:you instanti-ate
The objects in the client application and then call Proper-ties
and methods and respond to events. However, assemblies
are not COM components; Instead, they are. NET assemblies.
Building Classes and assemblies with

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.