473,385 Members | 1,582 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.

While not starting a debate BUT

Is there any differences between using the wizards to call the Data objects
VS. just coding them.

VB6 there was a performance and size issue to use active x controls thus
coding was more prevelant and perfered.

but with vb2005, does that hold true as vb6, given the Power, speed, HD size
of computers?

Know most is personal choice but I would like to know.

From what I am reading It seems to be I may be trying to re-invent the
wheel.........

Power of the Darkside is strong...........
Nov 18 '06 #1
9 953
I'm not sure exactly which wizard you're talking about.
If you're talking about the DataSet Designer, or using
the wizard to set up a Data source, there's no reason to
do it programmatically unless you just like to type.
Robin S.

"Warex" <Ig************@juno.comwrote in message
news:eX**************@TK2MSFTNGP06.phx.gbl...
Is there any differences between using the wizards to call the Data
objects VS. just coding them.

VB6 there was a performance and size issue to use active x controls thus
coding was more prevelant and perfered.

but with vb2005, does that hold true as vb6, given the Power, speed, HD
size of computers?

Know most is personal choice but I would like to know.

From what I am reading It seems to be I may be trying to re-invent the
wheel.........

Power of the Darkside is strong...........

Nov 18 '06 #2
Adapter, Dataset, table, all those.
"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:D4******************************@comcast.com. ..
I'm not sure exactly which wizard you're talking about.
If you're talking about the DataSet Designer, or using
the wizard to set up a Data source, there's no reason to
do it programmatically unless you just like to type.
Robin S.

"Warex" <Ig************@juno.comwrote in message
news:eX**************@TK2MSFTNGP06.phx.gbl...
>Is there any differences between using the wizards to call the Data
objects VS. just coding them.

VB6 there was a performance and size issue to use active x controls thus
coding was more prevelant and perfered.

but with vb2005, does that hold true as vb6, given the Power, speed, HD
size of computers?

Know most is personal choice but I would like to know.

From what I am reading It seems to be I may be trying to re-invent the
wheel.........

Power of the Darkside is strong...........


Nov 18 '06 #3
Hi,

The wizards create a strongly typed dataset which is an advantage to
using the wizards.

http://msdn.microsoft.com/msdnmag/is...12/DataPoints/

Ken
-------------------------------

"Warex" wrote:
Is there any differences between using the wizards to call the Data objects
VS. just coding them.

VB6 there was a performance and size issue to use active x controls thus
coding was more prevelant and perfered.

but with vb2005, does that hold true as vb6, given the Power, speed, HD size
of computers?

Know most is personal choice but I would like to know.

From what I am reading It seems to be I may be trying to re-invent the
wheel.........

Power of the Darkside is strong...........
Nov 18 '06 #4
Although, as Ken says, some of the wizards create strongly typed datasets,
that does not mean that you can't code strongly typed datasets yourself.

Before one can determine if one will get any benefit from using a wizard,
one has to know if one can tust the code that is produced by that wizard.
One of the fun things to do with the code that a wizard produces is to
dissect it to see what techniques have been used and how they have been
implemented. Some of those techniques are more advanced than those you might
find in a book or in the product documentation.

If I require just the basic functionality then using a wizard is certainly a
time saver.

If I require additional functionality then I often start with the code
produced by a wizard using a wizard and enhance it with what I need.
"Warex" <Ig************@juno.comwrote in message
news:eX**************@TK2MSFTNGP06.phx.gbl...
Is there any differences between using the wizards to call the Data
objects VS. just coding them.

VB6 there was a performance and size issue to use active x controls thus
coding was more prevelant and perfered.

but with vb2005, does that hold true as vb6, given the Power, speed, HD
size of computers?

Know most is personal choice but I would like to know.

From what I am reading It seems to be I may be trying to re-invent the
wheel.........

Power of the Darkside is strong...........

Nov 18 '06 #5

Stephany Young wrote:
<snip>
One of the fun things to do with the code that a wizard produces is to
dissect it to see what techniques have been used and how they have been
implemented. Some of those techniques are more advanced than those you might
find in a book or in the product documentation.
<snip>

On the other side, some of then just "abuse" the fact that they're
wizard managed. For instance, a programmer would try to use inheritance
to his/her advantage, something that current wizardry doesn't seem to
like.

An example of this is the structure of the DataTables generated by the
DataSet wizard. It is very difficult to introduce common behavior to
all your DataTables -- even taking advantage of partial classes --
because they're direct descendants of System.DataTable.

Just as you can customize the inheritancy of TableAdapters, I suppose
the DataTables could also descend from a custom class.

The consequence is that you'll see tons of
redundant-repeating-extremely long-winded lines of code, something that
a "real" programmer would try to encapsulate... The code seems
definitely for wizard eyes, only... I am using a wizard generated
DataSet with some 20 tables, and the wizard code really looks like a
complete mess.

My R$ 0,05 (as for current currency)

Regards,

Branco.

Nov 18 '06 #6
Warex,

I set this in the mainthread but am in fact responding to Stephany's and
Branco's message as well.

Although I don't like the way how it is done (but that is never more to
change), the wizards give you the advantage that there are uniform names
created.

The part that Bronco discuss is in my opinion not anymore, you can use
partial classes to set extentions to the by the wizards created code.

Although I agree that you never can do everything with the by the wizard
created code, it is as well strongly based on databinding.

And as last there is nothing wrong to start a (constructive) debate in this
newsgroup, that is the main reason where Usenet is fore and this is a UseNet
newsgroup.

Just my thought,

Cor
"Warex" <Ig************@juno.comschreef in bericht
news:eX**************@TK2MSFTNGP06.phx.gbl...
Is there any differences between using the wizards to call the Data
objects VS. just coding them.

VB6 there was a performance and size issue to use active x controls thus
coding was more prevelant and perfered.

but with vb2005, does that hold true as vb6, given the Power, speed, HD
size of computers?

Know most is personal choice but I would like to know.

From what I am reading It seems to be I may be trying to re-invent the
wheel.........

Power of the Darkside is strong...........

Nov 19 '06 #7

I agreee with you Branco ,

I still have the idea that my own code is much faster and cleaner
But indeed i do use the wizards a lot , but if i need to write a fast
performing data manipulating app , i prefer to write my own code

I also see that a lot of "new" coders don`t even now how to do things
without the wizzards ( i call them drag drop pilots :-)
sometimes when we run into somekind of weird problem i can still solve
things by writing my own custom code , those people can only give up , and
blame MS

I am not happy with the fact that dragging and dropping ( and having no idea
what is generated behind the scenes) seems to get the coding standard , this
is really a bad thing for our proffession , however it is also making me
more worth as i already encountered a few projects wher a form was
worthless because the designer corrupted it ( drag drop , delete in wrong
order :-) i could easily recover them by correcting the code in the code
behind classes . where others had already taken the loss of a day work and
switched back to a backup version of there project .

I am a coder , and a coder is someone who can read and write code
regards

Michel Posseth [MCP]


"Branco Medeiros" <br*************@gmail.comschreef in bericht
news:11*********************@m73g2000cwd.googlegro ups.com...
>
Stephany Young wrote:
<snip>
>One of the fun things to do with the code that a wizard produces is to
dissect it to see what techniques have been used and how they have been
implemented. Some of those techniques are more advanced than those you
might
find in a book or in the product documentation.
<snip>

On the other side, some of then just "abuse" the fact that they're
wizard managed. For instance, a programmer would try to use inheritance
to his/her advantage, something that current wizardry doesn't seem to
like.

An example of this is the structure of the DataTables generated by the
DataSet wizard. It is very difficult to introduce common behavior to
all your DataTables -- even taking advantage of partial classes --
because they're direct descendants of System.DataTable.

Just as you can customize the inheritancy of TableAdapters, I suppose
the DataTables could also descend from a custom class.

The consequence is that you'll see tons of
redundant-repeating-extremely long-winded lines of code, something that
a "real" programmer would try to encapsulate... The code seems
definitely for wizard eyes, only... I am using a wizard generated
DataSet with some 20 tables, and the wizard code really looks like a
complete mess.

My R$ 0,05 (as for current currency)

Regards,

Branco.

Nov 19 '06 #8
I have to agree Michel.

Unfortunately, there are far too many of these 'new coders', as you call
them, being churned out by so-called educational establishmentsm where they
have been taught how to use the wizards and not much else.
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:ed**************@TK2MSFTNGP04.phx.gbl...
>
I agreee with you Branco ,

I still have the idea that my own code is much faster and cleaner
But indeed i do use the wizards a lot , but if i need to write a fast
performing data manipulating app , i prefer to write my own code

I also see that a lot of "new" coders don`t even now how to do things
without the wizzards ( i call them drag drop pilots :-)
sometimes when we run into somekind of weird problem i can still solve
things by writing my own custom code , those people can only give up , and
blame MS

I am not happy with the fact that dragging and dropping ( and having no
idea what is generated behind the scenes) seems to get the coding standard
, this is really a bad thing for our proffession , however it is also
making me more worth as i already encountered a few projects wher a form
was worthless because the designer corrupted it ( drag drop , delete in
wrong order :-) i could easily recover them by correcting the code in
the code behind classes . where others had already taken the loss of a day
work and switched back to a backup version of there project .

I am a coder , and a coder is someone who can read and write code
regards

Michel Posseth [MCP]


"Branco Medeiros" <br*************@gmail.comschreef in bericht
news:11*********************@m73g2000cwd.googlegro ups.com...
>>
Stephany Young wrote:
<snip>
>>One of the fun things to do with the code that a wizard produces is to
dissect it to see what techniques have been used and how they have been
implemented. Some of those techniques are more advanced than those you
might
find in a book or in the product documentation.
<snip>

On the other side, some of then just "abuse" the fact that they're
wizard managed. For instance, a programmer would try to use inheritance
to his/her advantage, something that current wizardry doesn't seem to
like.

An example of this is the structure of the DataTables generated by the
DataSet wizard. It is very difficult to introduce common behavior to
all your DataTables -- even taking advantage of partial classes --
because they're direct descendants of System.DataTable.

Just as you can customize the inheritancy of TableAdapters, I suppose
the DataTables could also descend from a custom class.

The consequence is that you'll see tons of
redundant-repeating-extremely long-winded lines of code, something that
a "real" programmer would try to encapsulate... The code seems
definitely for wizard eyes, only... I am using a wizard generated
DataSet with some 20 tables, and the wizard code really looks like a
complete mess.

My R$ 0,05 (as for current currency)

Regards,

Branco.


Nov 19 '06 #9
Michel Posseth [MCP] wrote:
I still have the idea that my own code is much faster and cleaner
But indeed i do use the wizards a lot , but if i need to write a fast
performing data manipulating app , i prefer to write my own code

I am a coder , and a coder is someone who can read and write code
I agree also. I like to use a code generator like CodeSmith where you
can control what gets generated by changing the code. Then you can
have the best of both worlds!

Nov 20 '06 #10

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

Similar topics

7
by: Xah Lee | last post by:
# here's a while statement in python. a,b = 0,1 while b < 20: print b a,b = b,a+b --------------- # here's the same code in perl
54
by: Stefan Arentz | last post by:
I was just reading through some old articles in the 'Why not develop new language' thread and came across the finally debate. Everytime I mention 'finally' to C++ programmers I get almost...
33
by: Jim Cobban | last post by:
I cannot get Netscape 4.79 to properly display the ordered list in the following fragment. <P>Get a specific portion of the date. Depending upon the value of index: <ol start=0> <li>complete...
147
by: Michael B Allen | last post by:
Should there be any preference between the following logically equivalent statements? while (1) { vs. for ( ;; ) { I suspect the answer is "no" but I'd like to know what the consensus is
8
by: jvb | last post by:
Hey all, I figure it's Wednesday, why not put a question up for debate. Beyond personal preference, is there any benefit (performance or otherwise) to using one loop over the other? For example,...
77
by: berns | last post by:
Hi All, A coworker and I have been debating the 'correct' expectation of evaluation for the phrase a = b = c. Two different versions of GCC ended up compiling this as b = c; a = b and the other...
2
by: Wells | last post by:
Debate Simmering in US Over Regulation of Internet A heated debate is shaping up in Washington about a concept some activists are calling Internet network neutrality, known more popularly as net...
6
by: iskeletor | last post by:
I didn't finish my program yet but in the input function there is a problem.When i enter E character while loop doesn't end. Why? Can anybody help me where is the error? From now, thanks ;) ...
11
by: John A Grandy | last post by:
I'm in a vigorous debate at my work regarding objects assuming knowledge of the type their containing object. This debate pertains specifically to ASP.NET, but I have decided to post in the C#...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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.