473,385 Members | 1,757 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,385 software developers and data experts.

Components and clases

I'm an experienced VB guy, and have been using VB.Net for a while. I've just
done a few of the walkthroughs and created a Component. Seems to me a
component is very similar to a class.

Can someone tell me what the differences are, and when would I choose one
over the other?
Jul 21 '05 #1
3 1074
John,

A conponent as well a class, a component is a very high base class, from
which by instance "control" and "data" inherits. This means that there are a
lot of things which are implemented in components are all in the derived
classes as well, by instance idisposable.

When you use a component Item in VSNet you get as well a nice design grid on
which you can drag when you want that all kind of components by instance
controls however also the dataadapterwizard and a nice class code to add
things too.

I hope this helps?

Cor
Jul 21 '05 #2
So it sounds like you get access to the designer, and cuts down on tons of
code to create thinsg like data adapters etc.
Cor, many thanks for the prompt respose.


"Cor Ligthert" <no************@planet.nl> wrote in message
news:uc****************@TK2MSFTNGP09.phx.gbl...
John,

A conponent as well a class, a component is a very high base class, from
which by instance "control" and "data" inherits. This means that there are
a lot of things which are implemented in components are all in the derived
classes as well, by instance idisposable.

When you use a component Item in VSNet you get as well a nice design grid
on which you can drag when you want that all kind of components by
instance controls however also the dataadapterwizard and a nice class code
to add things too.

I hope this helps?

Cor

Jul 21 '05 #3
On Tue, 25 Jan 2005 11:04:30 GMT, "JohnFol" <Ou************@WibbleObbble.Com> wrote:

I'm an experienced VB guy, and have been using VB.Net for a while. I've just
done a few of the walkthroughs and created a Component. Seems to me a
component is very similar to a class.

Can someone tell me what the differences are, and when would I choose one
over the other?


Component is a rather generic term. It's essentially functionally related code, which may consist of
one or more discreet classes, that is both logically and physically separate from code that does not
pertain to it's functionality. It is typically represented as a DLL library or assembly, Windows
control, Web control, Class library, etc.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #4

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...
5
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...
3
by: JohnFol | last post by:
I'm an experienced VB guy, and have been using VB.Net for a while. I've just done a few of the walkthroughs and created a Component. Seems to me a component is very similar to a class. Can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.