http://www.mka-soft.com
1
Learning VB.Net
Hello everyone… welcome to vb.net tutorials. These are going to
be very basic tutorials about using the language to create simple
applications, hope you enjoy it. If you have any notes about it,
please send them to [email protected] I will be happy to
receive them. Finally if you find these tutorials are useful, it would
be nice from you to send a small donation via PayPal to
The work with this tutorial started on 2009-JAN-04.
http://www.mka-soft.com
2
Scrool down and select offine install. You need to burn this ISO image into a disk before using
it… or you can select web install for Visual Basic .net…
http://www.mka-soft.com
3
Select Visual Basic 2008 from the list…
http://www.mka-soft.com
4
The installation appears after a few seconds
http://www.mka-soft.com
5
Wait for a while
http://www.mka-soft.com
6
Click next…
http://www.mka-soft.com
7
Read the agreement and agree about it… then click next…
http://www.mka-soft.com
8
Select the MSDN (the help library) and Silver Light then click next…
http://www.mka-soft.com
9
Click next…
http://www.mka-soft.com
10
The installation starts…
http://www.mka-soft.com
11
After a while a restart will be required… click restart now…
http://www.mka-soft.com
12
Do not press or do anything… the installation continues automatically…
http://www.mka-soft.com
13
After the installation finishes, press exit… now let us test the VB.Net and write a simple
application.
http://www.mka-soft.com
14
Go to All Programs->Microsoft Visual Basic 2008…
http://www.mka-soft.com
15
VB will start…
http://www.mka-soft.com
16
This is only a quick test… the next lessons explains what happens in detail… so for now this is the
IDE (Integrated Development Environment) that you build your applications with…
http://www.mka-soft.com
17
Select File->New Project
http://www.mka-soft.com
18
Select Windows Forms, and give a name to your first application, then press OK.
http://www.mka-soft.com
19
Your application contains one window… you can modify it visually without doing any
programming…
http://www.mka-soft.com
20
Put the mouse pointer over the small square on the corner, and drag the window’s corner and
see what happens … you are resizing the window very easily…
http://www.mka-soft.com
21
To test this window, you hit the play button… the play button runs your application, to stop the
application hit the stop button or close the application window…
http://www.mka-soft.com
22
You can test the window and see it behaves like many XP forms or Vista forms…
http://www.mka-soft.com
23
Now stop the application and search for Back color property from the list on the right…
http://www.mka-soft.com
24
Press the small arrow that appears, and select General as shown In the image above… then
select a color that you like.
http://www.mka-soft.com
25
Now search for the Text property and replace its value with anything you like …
http://www.mka-soft.com
26
Run the application…
http://www.mka-soft.com
27
Very easy… still one last thing… you should save the application. Just Hit the Save all icon from
the tool bar…and select save…
The next tutorial explains in detail how to deal with the IDE…