Quote:
|
Originally Posted by bjwade62
Now can I have my VB6 back???
Thanks,
Bernie
|
So long as you have this attitude you will NEVER learn how to use .NET.
Microsoft has killed VB6. Staying on that path has no future anymore. Tell it goodbye and join the rest of the programming community in the celebration.
I had to learn LotusScript when I started getting Notes projects. I found that at first, I was trying to figure out how VB .NET would do something, then trying to convert that to LotusScript. I was having lots of troubles and not accomplishing anything.
Then, I started pretending that LotusScript was my first programming language. When I didn't know how to do something, the only point of reference I used was the LotusScript documentation. Within a week, I had learned most of what there was to know.
So, too, must you shed your prior knowledge of VB6 when moving to .NET. Many things are similar, but many things are different. You will have a much easier time if instead of saying "How do I do this VB6 task in VB .NET" you start saying "I can't figure out how to do this in VB .NET." The difference is you aren't writing the same program twice. When this is done, it is easy to look at the .NET documentation for VB6 functions and assume that since they aren't spelled the same they must be different. Every time you start to work with a control, spend some time reading the "All Members" section of its documentation. You can learn a lot from the single-sentence descriptions, and usually after reading those you'll think "Oh, that's like <whatever> in VB6!" Now, this isn't bad. It is much better when learning a new language to tell yourself "This is the equivalent of the old language" than to say "What is the equivalent of the old language. The former is a mental construct that helps you make the move, the latter is a mental construct that keeps you stuck in the old language.
The sooner you can start thinking only in .NET, the sooner you will understand it. Then, when Microsoft releases the next big thing in 5-10 years and .NET is getting the boot, you can apply the same methodology and learn the next language faster.