I'm wondering whether the Bytes community can help me out a little.
As some of you know, I've worked with VB6 (and earlier versions) for many years, and enjoy answering questions in the VB6 forum when possible.
Sometime last year I installed Visual Studio 2012 and have been planning to learn VB.Net.
I did eventually get around to giving it a shot. Ugh! what a disaster. After hours of wracking my brain, I gave up trying to create even the simplest program. Seriously, I couldn't work out how to achieve the most basic, fundamental task in my code such as showing a form or setting a control property.
Since then, many months have gone by. I've been too busy, too lazy, and if I'm honest with myself, probably too intimidated to really try again. I realise VB.Net has all sorts of things going for it, and that there are good reasons for the major changes. But that doesn't change the fact that there's a very steep early learning curve in going from one to the other. This is made worse by a couple of factors:
- First, the VB6 conversion tool provided with earlier .Net versions has been removed. Thanks a ton, MS. Otherwise I'd convert one of my old programs and go from there.
- Second, the upgrade-related information I've been able to find seems entirely interested in the differences between the prior version and 2012 - not terribly helpful.
So here's what I'd like to ask.
Could someone here please throw together in VB.Net (latest version you have handy) a very simple "hello world" application and post it here, so I can load into VB2012 as a starting point to play with. It doesn't need to have comments, or demonstrate or explain anything. Just a simple form, with say a text box, and a button which will copy the text box contents to a label. The sort of thing I could slap together in about 30 seconds in VB6, and I assume it's just about as simple in .Net if you know what you're doing. With that as a starting point, I'll have great fun picking apart how it works and teaching myself the rest.
In fact, perhaps it could be attached to an article in the appropriate section, for the benefit of others trying to make the leap.