Starting VB.NET programming
Setting up a VB.NET environment
Tutorial by ande for Evilzone
Contents _0x00 -
VB.NET0x01 -
Software0x02 -
Starting VB.NET programming0x00 - VB.NETVB.NET or Visual Basic .NET is an high level language for windows systems(Note that with mono for Linux, you can code VB.NET on Linux aswell). VB.NET uses libraries from the .NET framework 2.0 and above, therefore the machine you are going to code or run a VB.NET application on has to have the .NET framework 2.0 or higher.
0x01 - SoftwareTo create VB.NET application you need an VB.NET compiler and an VB.NET IDE. Because VB is created by Microsoft, they naturally got an all in one IDE and compiler called Visual Basic Express Edition, witch can be downloaded here:
http://www.microsoft.com/express/Downloads/. There is a 2010 edition and a 2008 edition, personally I like the 2008 edition better, but that's up to you, the code syntax are the same.
0x02 - Starting VB.NET programmingVisual Basic .NET can create a variety of different application types. The most common ones are Windows Forms Application, Console Application and Class Library. You will most likely use the Windows Forms Application and Console Application for the most part. Here are some VB.NET code examples.
Simple Hello World print (Console Application)
Module Module1
Sub Main()
Console.WriteLine("Hello World")
End Sub
End Module
Variable print (Console Application)
Module Module1
Sub Main()
Dim Var1 as string = "Hello World"
Console.WriteLine(Var1)
End Sub
End Module
Math + print (Console Application)
Module Module1
Sub Main()
Dim Var1 As Integer = 10
Dim Var2 As Integer = 10
Dim Var3 As Integer = Var1 + Var2
Console.WriteLine(Var3)
End Sub
End Module
Here is 16 awesome videos from Microsoft called Absolute Beginner's Series (Videos), watch all of these and follow the examples, and you will be able to code in no time
http://msdn.microsoft.com/en-us/beginner/bb308737.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308740.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308743.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308746.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308749.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308752.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308799.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308825.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308829.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308816.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308820.aspxhttp://msdn.microsoft.com/en-us/beginner/bb308832.aspx