Topic 3-4
Topic 3-4
Applications
Topic 3
Objectives
VB.NET is also known as Visual Basic.NET. It stands for Visual Basic. Network
Enabled Technologies. It is a simple, high−level, object−oriented programming
language developed by Microsoft in 2002. It is a successor of Visual Basic 6.0,
which is implemented on the Microsoft .NET Framework. With this language,
you can develop a fully object− oriented application that is similar to an
application created through another language such as C++, Java, or C#.
Feature of VB.NET
1. Title bar
2. Menu bar
3. Tool bar
4. Toolbox
5. Code window
6. Solution explorer
7. Properties window
8. Output window
9. Error list
10. Form window
Toolbox
The tool box contains the icon of the control we can place on a form to
create the application’s user interface. By default, tool box contains a pointer
icon and twenty other icon of ActiveX controls. The tool box appear at the
left side on screen by default. User can change its position anywhere on the
form.
Even tool box can be turn off on screen. To place a control on a form, we
first select it with a mouse and then move the mouse over the form. When
the mouse is over the form, the curser turns into a large plus sign, and we can
draw control on the form, just as we would draw a circle using a drawing
application. The size of the circle determines the size of the control
Common Controls
TYPES OF APPLICATIONS IN VB.NET
The last line Console.ReadKey() is for the VS.NET Users. This will prevent the
screen from running and closing quickly when the program is launched from
Visual Studio .NET.
Creating A project
Create A Project First, you'll create a Visual Basic app project. The default
project template includes all the files you'll need for a runnable app.
Open Visual Studio.
On the start window, choose Create a new project.
In the Configure your new project window, enter WhatlsYourName in the
Project name box. Then, choose Next.
…
…
In the Create a new project window, choose Visual Basic from the Language
list. Next, choose Windows from the Platform list and Console from the
Project types list.
After you apply these language, platform, and project type filters, choose the
Console App template, and then choose Next
In the Additional information window, .NET 8.0 (Long-term support) should
already be selected for your target framework. If not, select .NET 8.0 (Long-
… term support). Then, choose Create.
Run the App
There are two ways to run this code, inside Visual Studio in debug mode, and
from your computer as a regular standalone app.