Let me begin by differentiating vb.NET from vb.
It is true to say that the vb in both does stand for Visual Basic and that they share a similar looking syntax, but they are very different. The most important difference is in how they are implemented.
vb (that's without the .NET) is compiled into a native executable
vb.NET (that's with the .NET) is compiled into a CIL which is then interpreted by the .NET Framework.
Where to download vb.net?
There are several editions of the vb.net out in the wilds;-
Visual Basic 2005 (aka VB8), Visual Basic 2008 (aka VB9)
But I suggest you uses the latest version
Visual Basic 2010 Express Edition (aka VB10)
Which has the latest version of the .NET Framework, .NET 4.0.
Visual Basic Developer Center
A couple ideas to get you started.
Note: Yes we are aware that some one following Code Samples do break the Syntax Highlighter of the code tags.
- Disable the Legacy Support for vb6
Its a great way to learn the new stuff.
Yeah a I know it takes a little getting used to, something you could do before you can't do Now.
Eg Control Arrays.
- Discover some of the benefit of Using Object Orient Design by Create your own class object.
- Create DLL of useful bits. (Extension Methods)
The following one is on I use lot.
- Investigate Generics
For you don't know it a way of sharing and simplifying your code. The (Of T) Stuff
- Play with LINQ
It more powerful than you think.
Try combining LINQ wirh some Extension Methods
So far I been only showing Console Programs, which is great for testing out ideas with hassle dealing with challenges that an Asynchronous MultiThreaded Graphical Interface. It lets you focus on the core language. Learn the language features, controls and Forms are way easier user. It easy to change the project type to a Windows Forms application later on.
- XML Literals
One feature if VB.net and not yet available ro C# Programmers, (Who are calling out for them.)
Even as especially in VB10 since they (Microsoft) have included the XML-to-Scheme Template (Express Edition Too)
Previously it was an extra download. What it does is allows add Intellisense support over an XML document, it has the schema of.
Look in the Tutorials and Snippets for some other cool stuff
A personal view of vb10.
First of I'm sorry for such as long post but I felt impassioned to express to you my joy of coding in the vb.net language.
What tips would you give some starting in vb.net?
"Ok, What are you current coding? or project?"
Thank for reading and enjoy this weeks 52 Week of Code.
No specific challenge this week other than this.
I daring, double daring you to try vb.net and not to have fun exploring it.
If you happen;-
find something interesting on way
or you have created something you want to share among the rest of the vb.net community.
Thank you raading I know that was a lot longer than your typical 52WoC of Code post.