COM+ Objects in Vb
Posted: 2002-06-01
By: ArchiveBot
Viewed: 70
Filed Under:
No attachments for this post
Explains Some of the features of the new .net Featured Vb
Original Author: manikantan
Code
COM+ In the .net Frameworked Vb
Visual Basic has been named for its Rapid Fast Application Creation facility
But it has been lacking on the object Orientation which limited its acceptance to
the creation of middle tier appication .The new .Net Version of the VB has elimiated
this Problem by Becoming Object Oriented.With this new Features VB delivers the
power of C++,Java and Maintaning the Instant development Interface
Some of the new Features are
1)Overloading
Overloading allows objects 's Methods and operators to have different meaning
depending on their context.Operators behave Differently Depending on the datatype
For example
overloads sub myarticle(x as char)
overloads sub myarticle(x as integer)
overloads sub myarticle(x as string)
All the three functions will be different with the forth coming version of Vb but which
has been followed conventionally in C++
2)Inheritence
The .Net vb Suppts Inheritenc.So Provides way for Code Reuse.
Example
class article
function main()
a=100
end function
class newarticle
inherits article
overloads function main()
a1=100
end function
3)Freethreading
The new .Net Version has Introduced a Concept called as Free threading.where by
complex Queries ,Calculations can run in a seperate Process and the main program
can run normally without strains in seperate thread.
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.