Advertisement
2_2002-2004 Object Oriented Programming (OOP) #118487

COM+ Objects in Vb

Explains Some of the features of the new .net Featured Vb

AI

Podsumowanie AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Kod źródłowy
original-source
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.	

Oryginalne komentarze (3)
Odzyskane z Wayback Machine