Vous êtes sur la page 1sur 3

Please login or register.

Username:

Password:

Forever

Login

Search...

Home

IRC

WIKI

File hosting

Search

Login

Register

Evilzone - Hacking and Security Community Programming VB - VB.NET - C# - C++.NET Starting VB.NET programming - Setting up a VB.NET environment
Pages: [1]

PRINT

Author

Topic: Starting VB.NET programming - Setting up a VB.NET environment (Read 7865 times)

1 Member and 1 Guest are viewing this topic.

ande
Titan
Owner

Starting VB.NET programming - Setting up a


VB.NET environment
on: October 03, 2010, 11:17:30 pm

Starting VB.NET programming


Setting up a VB.NET environment
Tutorial by ande for Evilzone
Posts: 2634
C ookies: 253

Contents _
0x00 - VB.NET
0x01 - Software
0x02 - Starting VB.NET programming

0x00 - VB.NET
VB.NET or Visual Basic .NET is an high level language for w indow s systems(Note that w ith mono for Linux, you
can code VB.NET on Linux asw ell). VB.NET uses libraries from the .NET framew ork 2.0 and above, therefore the
machine you are going to code or run a VB.NET application on has to have the .NET framew ork 2.0 or higher.

0x01 - Software
To 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, w itch can be
dow nloaded here: http://w w w .microsoft.com/express/Dow nloads/. 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 programming


Visual Basic .NET can create a variety of different application types. The most common ones are W indow s Forms
Application, Console Application and Class Library. You w ill most likely use the W indow s Forms Application and
Console Application for the most part. Here are some VB.NET code examples.
Simple Hello W orld print (Console Application)
Code: [Select]
Module Module1
Sub Main()
Console.WriteLine("Hello World")
End Sub
End Module

Variable print (Console Application)


Code: [Select]
Module Module1
Sub Main()
Dim Var1 as string = "Hello World"
Console.WriteLine(Var1)

converted by W eb2PDFConvert.com

Console.WriteLine(Var1)
End Sub
End Module

Math + print (Console Application)


Code: [Select]
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 aw esome videos from Microsoft called Absolute Beginner's Series (Videos), w atch all of these and
follow the examples, and you w ill be able to code in no time
http://msdn.microsoft.com/en-us/beginner/bb308737.aspx
http://msdn.microsoft.com/en-us/beginner/bb308740.aspx
http://msdn.microsoft.com/en-us/beginner/bb308743.aspx
http://msdn.microsoft.com/en-us/beginner/bb308746.aspx
http://msdn.microsoft.com/en-us/beginner/bb308749.aspx
http://msdn.microsoft.com/en-us/beginner/bb308752.aspx
http://msdn.microsoft.com/en-us/beginner/bb308799.aspx
http://msdn.microsoft.com/en-us/beginner/bb308825.aspx
http://msdn.microsoft.com/en-us/beginner/bb308829.aspx
http://msdn.microsoft.com/en-us/beginner/bb308816.aspx
http://msdn.microsoft.com/en-us/beginner/bb308820.aspx
http://msdn.microsoft.com/en-us/beginner/bb308832.aspx
Report to moderator

Logged

if($statement) { unless(!$statement) { // Very sure } }


https://evilzone.org/?hack=true

Factionwars
King
Administrator

Re: Starting VB.NET programming - Setting up


a VB.NET environment
Reply #1 on: March 28, 2011, 01:27:47 pm

Good idea if i start the same post as you but then for c#.net, including some tips and techniques on a good and
organized programming environment?
Report to moderator

Logged

Posts: 2499
C ookies: 202

ande
Titan
Owner

Re: Starting VB.NET programming - Setting up


a VB.NET environment
Reply #2 on: March 28, 2011, 02:25:21 pm
Quote from: Factionwars on March 28, 2011, 01:27:47 pm
Good idea if i start the same post as you but then for c#.net, including some tips and techniques on a good and organized
programming environment?

Absolutely
Report to moderator

Posts: 2634
C ookies: 253

Logged

if($statement) { unless(!$statement) { // Very sure } }


https://evilzone.org/?hack=true

Pages: [1]

PRINT

Evilzone - Hacking and Security Community Programming VB - VB.NET - C# - C++.NET Starting VB.NET programming - Setting up a VB.NET environment
Jum p to: => VB - VB.NET - C # - C ++.NET

go

converted by W eb2PDFConvert.com

W ant to be here? Contact Ande, Factionw ars or Kulverstukas on the forum or at IRC.

converted by W eb2PDFConvert.com

Vous aimerez peut-être aussi