BharathiLakshmiAAssi
29 views
25 slides
Jan 30, 2025
Slide 1 of 25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
About This Presentation
.Net Programming IDE
Size: 835.85 KB
Language: en
Added: Jan 30, 2025
Slides: 25 pages
Slide Content
Dr.A.Bharathi Lakshmi,
Head and Assistant Professor of IT,
V.V.Vanniaperumal College for Women,
Virudhunagar.
.NET IDE
Common interface for developing
windows and web-based applications
Centralized location for designing a
user interface, writing code,
compiling and debugging the
application.
.NET IDE
Components
•Start Page
•Windows Forms Designer
•Solution Explore
•Properties Window
•Toolbox
•Server Explorer
•Output Window
•Task List Window
•ClassView Window
•Code and Text Editor Window
.NET IDE Components
Start Page
.NET IDE Components
Windows Form Designer
.NET IDE Components
Solution Explorer
.NET IDE Components
Properties Window
.NET IDE Components
Tool Box
.NET IDE Components
Server Explorer
.NET IDE Components
Output Window
.NET IDE Components
Task List Window
.NET IDE Components
Class View Window
.NET IDE Components
Code and Text Editor Window
VB.net Applications
Windows Application
Class Library
Windows Control Library
ASP.NET Web Applications
ASP.NET Web Services
Web Control Library
Console Application
Windows Service
Create a Console
Application
• In the Visual Studio.NET environment, select File | New | Project
from the menu.
•Select Visual Basic on the left and then Console Application on the right.
Create a Console
Application
•Specify the name of your project and enter the location in
which to create the project.
•The project directory will be created automatically by Visual
Studio.
Source Code
Hello, World!
•Double-click the file 'module1.vb' in the Solution Explorer.
' Import namespaces Imports
System Module Module1
Sub Main()
Console.WriteLine ("Hello World")
End Sub
End Module
•When you type, Visual Studio will pop up with the names of classes
and functions.
Compiling Your Application
•You can compile the Visual Basic project by selecting Build Build.
•Errors and messages from the VB compiler will be displayed in
the Output window.
•If there were no errors, you can run the Hello World application
by clicking Debug Start without Debugging.
Program Output
Create a Windows
Application
• In the Visual Studio.NET environment, select File | New | Project
from the menu.
•Select Visual Basic on the left and then Windows Application on the right.
Create a Windows
Application
•Specify the name of your project and enter the location in
which to create the project.
•The project directory will be created automatically by Visual
Studio.
•Click Ok. Window Form Designer window is displayed.
Window Form Designer
•Double Click Windows Form. The Code Window is displayed.
Code Window
•Type the following code in the Form_Load() method.
MessageBox.Show(“Welcome to VB.NET “,Message)
•Save the solution
•You can compile the Visual Basic project by selecting Build in the Build menu.
•Errors and messages from the VB compiler will be displayed in
the Output window.
•If there were no errors, you can run the application by clicking
Debug Start to run the application
Compiling Your
Application