Old School VB6, Migrating to VS8; Seek Literature

  • Thread starter Number 11950 - GPEMC! Replace number with 11950
  • Start date
N

Number 11950 - GPEMC! Replace number with 11950

I've been programming VB4, then VB6 for the past ten years using old school
approaches such as modularisation with modules (instead of classes), state
driven arrays, etc. I am initmately familiar with API, not bad with DAO, but
found it easier to write my own data environment from scratch rather than
figure out how the then "new" Data Environment" worked.

While VS8 seems to offer so much more, using VB in VS8Pro, I am confronted
with objects lacking properties/attributes I once took for granted; captions
are now text, and while everything looks and feels familiar, I only need to
scratch beneath the surface to discover that VB2005 is a whole new animal.

Can anyone recommend an appropriate reference book to bring me up to speed?
I can see that VS8 offers the functionality to justify migration but some
guidance would prove most valuable.

Also, how do you turn the tooltips on and fill them with appropriate
comments for all your form controls in VS8? It used to be a matter of just
filling out the ToolTip Property.

Thanks in Advance...
 
L

Lit

I would like to welcome you to the .NET jungle.

I find Google and news groups to be the best. You are in the right place.

You need several books, none are or can be complete and perfect.
I got 10s of books already and not enough. you might need 10s every 6
months.

do not get discouraged by this just start and never quit.

"Number 11950 - GPEMC! Replace number with 11950" <[email protected]>
wrote in message
news:[email protected]...
 
G

Guest

Number 11950,

"Programming Microsoft Visual Basic 2005: The Language" By Francesco Balena.

Kerry Moorman
 
M

Michel Posseth [MCP]

I would recomend you the Balena Books

"Programming Microsoft Visual Basic 2003: The Language" By Francesco
Balena.
And
"Programming Microsoft Visual Basic 2005: The Language" By Francesco Balena

Yes both of them as the 2005 version is a upgrade to the 2003 book and this
2003 book is still valid

Balena gives special attention to pre .Net VB coders ,

regards

Michel Posseth
 
D

Dave griffiths

Hi I am in the same process of upgrading my knowledge. I found that
"Professional VB 2005" from wrox. ISBN 0-7645-7536-8 is good for me, it
is constantly relating back to VB6 as a comparison to what the exercise
is about and pointing out the changes.'

HTH
 
R

rowe_newsgroups

I've been programming VB4, then VB6 for the past ten years using old school
approaches such as modularisation with modules (instead of classes), state
driven arrays, etc. I am initmately familiar with API, not bad with DAO, but
found it easier to write my own data environment from scratch rather than
figure out how the then "new" Data Environment" worked.

While VS8 seems to offer so much more, using VB in VS8Pro, I am confronted
with objects lacking properties/attributes I once took for granted; captions
are now text, and while everything looks and feels familiar, I only need to
scratch beneath the surface to discover that VB2005 is a whole new animal.

Can anyone recommend an appropriate reference book to bring me up to speed?
I can see that VS8 offers the functionality to justify migration but some
guidance would prove most valuable.

Also, how do you turn the tooltips on and fill them with appropriate
comments for all your form controls in VS8? It used to be a matter of just
filling out the ToolTip Property.

Thanks in Advance...

--
Timothy Casey GPEMC! >> 11950 is the (e-mail address removed) 2email
Terms & conditions apply. Seewww.fieldcraft.biz/GPEMC
Discover valid interoperable web menus, IE security, TSR Control,
& the most advanced speed reading application @www.fieldcraft.biz

Also, how do you turn the tooltips on and fill them with appropriate
comments for all your form controls in VS8? It used to be a matter of just
filling out the ToolTip Property.

First you need to add a ToolTip control to the form (it's under Common
Controls in the toolbox). This control is an extender control which
"extends" other controls by adding properties to them - and in this
case it adds the ToolTip (though it will be called ToolTip on
ToolTip1) property which will allow you to set the text like we used
to in vb classic. The ToolTip control itself has properties that will
allow you to set some "global" tooltip properties (like to show a
balloon or box or animations etc).

Thanks,

Seth Rowe
 
J

Joergen Bech

1) Google. You can start reading some articles here:
http://www.google.dk/search?hl=da&q=convert+vb6+to+vb.net+&meta=
Dig in. The subject has been discussed to death years ago and you
are bound to read something useful in the existing discussions and
blog posts.

2) Buy Dan Appleman's Moving to VB.Net: http://tinyurl.com/22x3r8
He can be opinionated at times, but that's alright. After all, he is
Dan Appleman.

3) Try coding VB.Net without the legacy clutter: Start a new project,
go into Project Properties, select References, and uncheck the
Microsoft.VisualBasic box. Now, you have a better idea of what old
school commands to avoid when writing new VB.Net code because
the compiler will complain. Whenever this happens, search for
information about how to achieve the same thing using the framework
more directly rather than going through legacy wrappers.

4) In addition to language syntax, study the .Net Framework itself.
Use Lutz Roeder's .Net Reflector to dig into the core libraries and
study the internal data structures and classes and how they are being
processed by their methods, etc.
http://www.aisto.com/roeder/dotnet/

5) Get FxCop and a copy of Framework Design Guidelines:
http://tinyurl.com/ywtbv2
Read the book and watch the videos on the accompanying DVD.
Get rid of your old habits and embrace the .Net coding conventions.

6) Read any fundamental book on object-oriented design/programming,
unless you already have this subject down.

In other words: Study the fundamentals instead of thinking that 10
years of VB4/VB6 programming will ease you into (VB).Net development.

Regards,

Joergen Bech
 
C

Cor Ligthert [MVP]

Hi,

Why are you seek literature for VB8 or VB8. It does not exist as product.
Although the term VB8 is still used as an Internal Microsoft name to develop
the Engine, however that is in my idea not were you are looking for to
learn, you want to use Visual Studio in whatever format, which uses as well
not that term beside a code to set the directory.

The products are
VB.Net 2002
VB.Net 2003
VB 2005

Cor

"Number 11950 - GPEMC! Replace number with 11950" <[email protected]>
schreef in bericht
news:[email protected]...
 
N

Number 11950 - GPEMC! Replace number with 11950

[SNIP]
First you need to add a ToolTip control to the form (it's under Common
Controls in the toolbox). This control is an extender control which
"extends" other controls by adding properties to them - and in this
case it adds the ToolTip (though it will be called ToolTip on
ToolTip1) property which will allow you to set the text like we used
to in vb classic. The ToolTip control itself has properties that will
allow you to set some "global" tooltip properties (like to show a
balloon or box or animations etc).

Thanks,
[SNIP]

Thanks. So I take it that some classes only need be treated as controls.
That answers a lot of questions for me. Thanks again...

Is there a control or technique that will allow me to add carat position (in
text) or SelStart & SelLength to a control that doesn't offer these features
(such as the WebBrowser Object or the DHTMLEdit Object?)

Thanks in Advance...
 
N

Number 11950 - GPEMC! Replace number with 11950

Cor Ligthert said:
Hi,

Why are you seek literature for VB8 or VB8. It does not exist as product.
Although the term VB8 is still used as an Internal Microsoft name to develop
the Engine, however that is in my idea not were you are looking for to
learn, you want to use Visual Studio in whatever format, which uses as well
not that term beside a code to set the directory.

The products are
VB.Net 2002
VB.Net 2003
VB 2005

Cor
[SNIP]

I thought the first one was VB.NET 2001? I know that VB.NET 2003 was only a
minor version upgrade (VS7.x as opposed to VS7.0) and the 2005 edition is
definitely a major upgrade (VS8). I thought WinNT5.1(WinXP) was good at
crash recovery but Framework 2 has an amazing error suppression system.

Visual Studio 2005 Professional installs as "Visual Studio 8" - or it did on
my machine - hence my abbreviation to VS8 (that's "Victor SIERRA Eight" :^).
VB2005 is usually the Express Edition, and it's lack of features and
capability is the reason why I did not take up VS8 a year ago. VS8 does what
I need it to do but don't expect a Microsoft Salesperson to tell you that! I
had to go to great lengths to find out that the price tag was more than
justified by the features.

Perhaps another issue is keywording. If VB and 2005 are left out, the
message won't get show up on a search under VB2005, which is probably more
popular than a search under VS8.

Anyway, so far I'm very happy with VB2005pro...
 
C

Cor Ligthert [MVP]

It is 2002, 2003 looks like a minor upgrade, however the 2003 version is
probably the most stable version while there were a lot of new controls.
Probably Microsoft wanted to let it look like a minor upgrade because 2002
was as unstable as a program can be.

The 2005 version is certainly not the express version, only because of the
express version there are now more persons using it. The base for the
Express version is 2005.

Cor


"Number 11950 - GPEMC! Replace number with 11950" <[email protected]>
schreef in bericht
Cor Ligthert said:
Hi,

Why are you seek literature for VB8 or VB8. It does not exist as product.
Although the term VB8 is still used as an Internal Microsoft name to develop
the Engine, however that is in my idea not were you are looking for to
learn, you want to use Visual Studio in whatever format, which uses as well
not that term beside a code to set the directory.

The products are
VB.Net 2002
VB.Net 2003
VB 2005

Cor
[SNIP]

I thought the first one was VB.NET 2001? I know that VB.NET 2003 was only
a
minor version upgrade (VS7.x as opposed to VS7.0) and the 2005 edition is
definitely a major upgrade (VS8). I thought WinNT5.1(WinXP) was good at
crash recovery but Framework 2 has an amazing error suppression system.

Visual Studio 2005 Professional installs as "Visual Studio 8" - or it did
on
my machine - hence my abbreviation to VS8 (that's "Victor SIERRA Eight"
:^).
VB2005 is usually the Express Edition, and it's lack of features and
capability is the reason why I did not take up VS8 a year ago. VS8 does
what
I need it to do but don't expect a Microsoft Salesperson to tell you that!
I
had to go to great lengths to find out that the price tag was more than
justified by the features.

Perhaps another issue is keywording. If VB and 2005 are left out, the
message won't get show up on a search under VB2005, which is probably more
popular than a search under VS8.

Anyway, so far I'm very happy with VB2005pro...

--
Timothy Casey GPEMC! >> 11950 is the (e-mail address removed) 2email
Terms & conditions apply. See www.fieldcraft.biz/GPEMC
Discover valid interoperable web menus, IE security, TSR Control,
& the most advanced speed reading application @ www.fieldcraft.biz
 

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