Microsoft .NET Framework Primer for the Visual Basic Developer

Z

Zamdrist

I find it mildly amusing this following paragraph from a tutorial MS
wrote on an introduction to VB.Net for VB6 developers. It's written in
such a manner as to sound as the VS does something for you
(auto-generates) that previous versions did not. As if you had to write
the Form class by hand in VB6, lol.

"Although the designer is very similar at first glance, many
enhancements make Windows
Forms development easier while giving you more power and flexibility.
One of the most significant changes from Visual Basic 6 is that all
controls and other UI components are actually classes in the Framework
Class Library. When you drag a TextBox onto a form, Visual Studio 2005
auto-generates a field to hold a reference to a TextBox object and
writes the code for instantiating a TextBox object when the form is
initialized. The visual designer also writes the
code for setting the properties of the control. If you change the
BackColor property of the Text-
Box in the Properties window, Visual Studio 2005 generates a line of
Visual Basic code that
sets the BackColor. Figure 1-9 shows some of the auto-generated code
for the login form
shown in Figure 1-8."
 
L

Larry Lard

Zamdrist said:
I find it mildly amusing this following paragraph from a tutorial MS
wrote on an introduction to VB.Net for VB6 developers. It's written in
such a manner as to sound as the VS does something for you
(auto-generates) that previous versions did not.

But it does - it auto-generates *actual code*. Change the BackColor of
an element in a VB6 form and the change is made in an undocumented
language in an undocumented and inaccessible section of your source
code. *That's* the difference.
 
Z

Zamdrist

I'm only unimpressed by their evangalizing, and quite frankly their
rewrite of history.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top