0% found this document useful (0 votes)
17 views

IDE - Visual Basic

The document describes the main windows and features of the Visual Basic .NET integrated development environment (IDE). It discusses the New Project dialog for creating projects, the Toolbox for adding controls, the Properties window for modifying control properties, and the Solution Explorer, Error List, Output, and Code Editor windows. It also provides instructions for navigating between design and code views.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

IDE - Visual Basic

The document describes the main windows and features of the Visual Basic .NET integrated development environment (IDE). It discusses the New Project dialog for creating projects, the Toolbox for adding controls, the Properties window for modifying control properties, and the Solution Explorer, Error List, Output, and Code Editor windows. It also provides instructions for navigating between design and code views.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

IDE - Visual Basic .

NET
• 1. The New Project dialog - start a new project.
– Project Types tree view on the left to select the
project category
– After that select a specific project type on the right
• ( Windows Forms Application project .
– Finally set the location (default is My Documents),
• Enter a name for the new project
• Click OK to create the project.
2. The Toolbox window
• Contain objects such as controls and
components
• These tools are grouped into sections
– right-click a certain tab
– select one of the commands in the context menu.
3. Properties window
• Allows to view and modify the properties of the
form and of the controls that it contains.
• properties
– grouped by category
– A and Z - alphabetically
4. Solution Explorer
• Used to visualize all the files currently in use
• A Solution can have many projects
5. Error List window
• Tells the type of the error(s) showing
– a full description,
– file name,
– line
– everything else that helps you easily find and fix
the error.
– If Error List is probably hidden use & display it by
selecting the appropriate item in the View menu.
6. Output window
• Displays compilation results and output printed by
the application.
• Helps to debug the code.
• Shows informational messages
generated by the IDE.
• For example,
• compile an application:
– the IDE sends messages here to tell what it is doing
and whether it succeeded.
7. Windows Forms Designer
• It lets to add, size, and move controls on a
form using your mouse.
• Together with the Properties window, it lets to
view and modify control properties, and
create event handlers to interact with the
controls.
8. Visual Basic Code Editor
• The code editor is far more than a simple text
editor such as Notepad.
• It provides many features to make writing correct
Visual Basic code much easier.
• If a control from the list is selected,
– pick an event for that control from a second dropdown
in the code editor's upper right.
– If you select an event, the code editor generates a
corresponding empty event handler.
– To make referring to the code lines easier, code editor
may display line numbers too.
To navigate from design to code view
• 1. Right click anywhere in the Designer and
select "View Code"
2. Open View menu and select "View Code"
3. Right-click the form in the Solution Explorer
and select "View Code"
4. Use the hotkey "Ctrl + Alt + 0"
To navigate from code to design view
• 1. Right click anywhere in the Code editor and
select "View Designer"
2. Open View menu and select "View
Designer"
3. Right-click the form in the Solution Explorer
and select "View Designer"
4. Use the hotkey "Shift + F7"
DATE Function…..

You might also like