SlideShare ist ein Scribd-Unternehmen logo
1 von 28
11/06/13

Mr. Roger C. Argarin

1



Introduction – Learning objectives of the class
Introduction to Visual Basic
Brief History of Visual Basic
 Basic Concept of Visual Basic Programming
Language
 Programming Environment




Use Microsoft Visual Studio .NET2005

11/06/13

Mr. Roger C. Argarin

2







Visual program design and development
Fundamentals of Object Oriented Programming
(OOP)
Event driven programming
Objects, properties and methods
Write Visual Basic projects

11/06/13

Mr. Roger C. Argarin

3




Text book:
 Introduction to Visual Basic 2008 Programming
Copernicus P. Pepito
References:






11/06/13

Online Learning Center:
http://www.mhhe.com/vbnet2005
Microsoft VB.NET Homepage:
http://www.microsoft.com/net
VB developers Resource Center:
http://www.mvps.org/vbnet
Microsoft Developers Network Homepage for VB.NET:
http://msdn.microsoft.com/vbasic
MSDN Home page
http://msdn.microsoft.com/
Mr. Roger C. Argarin

4




The Visual Basic programming language was
developed by Alan Cooper, an American
scientist in the late 1980’
This programming language was created with
the main purpose of teaching programmers
and developers how to design graphical-user
interface (GUI) programs easily.

11/06/13

Mr. Roger C. Argarin

5
The Structure and Operation of a Computer
 Computer system: hardware and software
 Processor (registers, primitive operations)
 Main memory (RAM, ROM)
 Data types (integers, real, floating-point
numbers, strings, etc.)
 Sequence and Data Control
 Storage management
 Operating environment

11/06/13

Mr. Roger C. Argarin

6
Computer System (PC)

Hardware

Software

Data types,
Sequence and
Data Control,
Storage Management,
Operating Environment

Processor,
Memory

11/06/13

Mr. Roger C. Argarin

7






Input Unit (keyboard, mouse, scanner, Internet
through TCP/IP)
Central Processing Unit (CPU)
Output Unit
Memory Unit
Primary memory (RAM, ROM)
 Secondary memory (Hard drives, zip disks, floppy
disks, etc)


11/06/13

Mr. Roger C. Argarin

8






Objects are essentially reusable software
components that model items in the real world,
such as windows cars, vehicles, and so on
Object technology is a packaging scheme that
enables programmers to create meaningful
software units.
Object-Oriented Programming tends to
produce software that is more understandable,
better organized, and easier to maintain,
modify and debug.

11/06/13

Mr. Roger C. Argarin

9


Object ==> Noun




Property ==> Adjective




Move a Form

Event ==> Occurs when the user takes an
action




Color of a Form

Method ==> Verb




Form and Controls

User clicks a button, User moves a form

Class ==> Template to create new object


11/06/13

Each control added is an Instance of a Class

Mr. Roger C. Argarin

10


Used to reference object's properties and
events in code


Object dot Property
 Form.Text, TextBox.Text



Object dot Event
 Form.Hide( ), TextBox.Focus( )



To reference an object's events use an
underscore instead of a dot
 Button_Click, ListBox_TextChanged

11/06/13

Mr. Roger C. Argarin

11




Class = automobile
Properties = make, model, color, year
Object = each individual car





Object is also an Instance of the automobile class

Methods = start, stop, speedup, slowdown
Events = car arrives, car crashes

11/06/13

Mr. Roger C. Argarin

12


Learning Visual Basic.NET Programming
Language includes to learn:


The graphical user interface or GUI (“gooey”) which
is an essential component of visual programming
 The GUI defines how various elements look and

function

Visual Basic programming language
Microsoft Developers Network Homepage for VB.NET:
http://msdn.microsoft.com/vbasic


11/06/13

Mr. Roger C. Argarin

13
TextBox

Label
GroupBox

PictureBox
RadioButtons
Buttons
Form

11/06/13

Mr. Roger C. Argarin

14


To create a VB.NET program you will utilize the
Visual Basic .NET 2005 development
environment, and you will
create a window, called form
 select elements, which are classes, from a toolbox
and place them within the window, called controls
 write code for each object that you place on the
window that defines how the object responds to
various events, called object-oriented programming
(OOP).


11/06/13

Mr. Roger C. Argarin

15


The style of Execution as shown below is
called event-driven:
A GUI determines how a user interacts with the
program
 Each user interaction with the computer: pressing a
key, clicking a button, or selecting a menu item
causes an event to occur
 Whenever an event occurs, the code you have
written to handle that event is executed


11/06/13

Mr. Roger C. Argarin

16


Visual Studio .NET 2005 includes:
 Visual Basic, Visual C++, C#, J#, and the .NET
framework.
 The .NET framework allowing objects from
different languages to operate together
 The .NET languages-based programs all compile
to a common machine language, called Microsoft
Intermediate Language (MSIL)
 The MSIL code runs in the Common Language
Runtime (CLR), which is part of the file .NET
framework.

11/06/13

Mr. Roger C. Argarin

17


Planning (design)
design the GUI (user interface)
 list the objects and properties needed
 plan the event procedures (what the code does)




Programming (implementation)
define the GUI using objects (Forms, Text Boxes,
Labels, etc.
 set the properties
 write BASIC code to implement procedures


11/06/13

Mr. Roger C. Argarin

18


Each Visual Basic application create the following
files with extensions:
 .sln - a solution file that holds information about
the project. This is the only file that is opened
 .suo - a solution user options file that stores
information about the selected options
 .vb - a .vb file that holds the definition of a form
 .resx - a resource file for the form
 .vbproj - a project file that describes the project
and lists the files are included
 .vbproj.user - a project user option file that holds
project option settings

11/06/13

Mr. Roger C. Argarin

19







Click on
-> Start
Choose ->
All
Programs
Choose ->
Microsoft
Visual
Studio
.NET 2005
Click on
->
Microsoft
Visual
Studio
.NET 2005

11/06/13

Mr. Roger C. Argarin

20
•
•
•

11/06/13

Click
on->
File
Choose
-> New
Select>
Project

Mr. Roger C. Argarin

21
The Microsoft VS Development Environment is
also called integrated development
environment (IDE):
A form designer
 A code editor
 A compiler
 A debugger
 An object browser


11/06/13

Mr. Roger C. Argarin

22
Each window can be moved, resized,
opened, closed, or customized

Menu bar

Toolbar
Menu bar – includes file, edit, view, project, build, debug, data, format,
tools, window, and help menu
Toolbar - includes many buttons as shortcuts for frequently used
operations. Each button represents a command that can be selected from
a menu. Most toolbars’ buttons are displayed in the main window of the
IDE






Menu bar
Toolbar

11/06/13

Mr. Roger C. Argarin

23
Tool bar

Menu bar

Tabs

Toolbox
Form
window

Solution
Explorer
window
Properties window

11/06/13

Mr. Roger C. Argarin

24




11/06/13

Click
Toolbox
from the
Toolbar
s
Toolbox
contains
a list of
tools
that
helps to
design
projects

Mr. Roger C. Argarin

25
welcome.sln


View Code



View
Design/
Form



Properties

11/06/13

Mr. Roger C. Argarin

26
•The properties window allows you to see and set all of the properties of the
particular object that you have placed on the form. There are many properties
for each object, and all can be seen by scrolling down the properties window.

11/06/13

Mr. Roger C. Argarin

27



Introduction – Learning Objectives of the class
Introduction to Visual Basic .NET2005
Basic Concept of Visual Basic
 Visual Basic Programming Language





Use Microsoft Visual Studio .NET2005
Next - First Visual Basic Planning and
Programming

11/06/13

Mr. Roger C. Argarin

28

Weitere ähnliche Inhalte

Was ist angesagt?

Presentation on visual basic 6 (vb6)
Presentation on visual basic 6 (vb6)Presentation on visual basic 6 (vb6)
Presentation on visual basic 6 (vb6)
pbarasia
 
visual basic v6 introduction
visual basic v6 introductionvisual basic v6 introduction
visual basic v6 introduction
bloodyedge03
 

Was ist angesagt? (20)

VB.net
VB.netVB.net
VB.net
 
Visual Basic 6.0
Visual Basic 6.0Visual Basic 6.0
Visual Basic 6.0
 
Vb basics
Vb basicsVb basics
Vb basics
 
Presentation on visual basic 6 (vb6)
Presentation on visual basic 6 (vb6)Presentation on visual basic 6 (vb6)
Presentation on visual basic 6 (vb6)
 
Introduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 FundamentalsIntroduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 Fundamentals
 
Power point final practical exam
Power point final practical examPower point final practical exam
Power point final practical exam
 
visual basic programming
visual basic programmingvisual basic programming
visual basic programming
 
visual basic v6 introduction
visual basic v6 introductionvisual basic v6 introduction
visual basic v6 introduction
 
Introduction to basic programming
Introduction to basic programmingIntroduction to basic programming
Introduction to basic programming
 
Operators used in vb.net
Operators used in vb.netOperators used in vb.net
Operators used in vb.net
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6
 
Visual programming
Visual programmingVisual programming
Visual programming
 
Notification android
Notification androidNotification android
Notification android
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
Meaning Of VB
Meaning Of VBMeaning Of VB
Meaning Of VB
 
Android User Interface
Android User InterfaceAndroid User Interface
Android User Interface
 
Visual Basic menu
Visual Basic menuVisual Basic menu
Visual Basic menu
 
Visual Basic 6.0
Visual Basic 6.0Visual Basic 6.0
Visual Basic 6.0
 

Ähnlich wie Introduction to visual basic programming

iPhone application development training day 1
iPhone application development training day 1iPhone application development training day 1
iPhone application development training day 1
Shyamala Prayaga
 
Java Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage EssayJava Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage Essay
Liz Sims
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
magicshui
 
Android presentation
Android presentationAndroid presentation
Android presentation
Imam Raza
 

Ähnlich wie Introduction to visual basic programming (20)

Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
iPhone application development training day 1
iPhone application development training day 1iPhone application development training day 1
iPhone application development training day 1
 
Vb lecture
Vb lectureVb lecture
Vb lecture
 
1 Fundamentals of EDP (2).pptx
1 Fundamentals of EDP (2).pptx1 Fundamentals of EDP (2).pptx
1 Fundamentals of EDP (2).pptx
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
First Steps with Android - An Exciting Introduction
First Steps with Android - An Exciting IntroductionFirst Steps with Android - An Exciting Introduction
First Steps with Android - An Exciting Introduction
 
The Glass Class - Tutorial 3 - Android and GDK
The Glass Class - Tutorial 3 - Android and GDKThe Glass Class - Tutorial 3 - Android and GDK
The Glass Class - Tutorial 3 - Android and GDK
 
Module-I_Introduction-to-Android.pptx
Module-I_Introduction-to-Android.pptxModule-I_Introduction-to-Android.pptx
Module-I_Introduction-to-Android.pptx
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
Introduction to Android Environment
Introduction to Android EnvironmentIntroduction to Android Environment
Introduction to Android Environment
 
Android development beginners faq
Android development  beginners faqAndroid development  beginners faq
Android development beginners faq
 
Java Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage EssayJava Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage Essay
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Android Intro
Android IntroAndroid Intro
Android Intro
 
Android
Android Android
Android
 
Android presentation
Android presentationAndroid presentation
Android presentation
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Introduction to visual basic programming

  • 2.   Introduction – Learning objectives of the class Introduction to Visual Basic Brief History of Visual Basic  Basic Concept of Visual Basic Programming Language  Programming Environment   Use Microsoft Visual Studio .NET2005 11/06/13 Mr. Roger C. Argarin 2
  • 3.      Visual program design and development Fundamentals of Object Oriented Programming (OOP) Event driven programming Objects, properties and methods Write Visual Basic projects 11/06/13 Mr. Roger C. Argarin 3
  • 4.   Text book:  Introduction to Visual Basic 2008 Programming Copernicus P. Pepito References:      11/06/13 Online Learning Center: http://www.mhhe.com/vbnet2005 Microsoft VB.NET Homepage: http://www.microsoft.com/net VB developers Resource Center: http://www.mvps.org/vbnet Microsoft Developers Network Homepage for VB.NET: http://msdn.microsoft.com/vbasic MSDN Home page http://msdn.microsoft.com/ Mr. Roger C. Argarin 4
  • 5.   The Visual Basic programming language was developed by Alan Cooper, an American scientist in the late 1980’ This programming language was created with the main purpose of teaching programmers and developers how to design graphical-user interface (GUI) programs easily. 11/06/13 Mr. Roger C. Argarin 5
  • 6. The Structure and Operation of a Computer  Computer system: hardware and software  Processor (registers, primitive operations)  Main memory (RAM, ROM)  Data types (integers, real, floating-point numbers, strings, etc.)  Sequence and Data Control  Storage management  Operating environment 11/06/13 Mr. Roger C. Argarin 6
  • 7. Computer System (PC) Hardware Software Data types, Sequence and Data Control, Storage Management, Operating Environment Processor, Memory 11/06/13 Mr. Roger C. Argarin 7
  • 8.     Input Unit (keyboard, mouse, scanner, Internet through TCP/IP) Central Processing Unit (CPU) Output Unit Memory Unit Primary memory (RAM, ROM)  Secondary memory (Hard drives, zip disks, floppy disks, etc)  11/06/13 Mr. Roger C. Argarin 8
  • 9.    Objects are essentially reusable software components that model items in the real world, such as windows cars, vehicles, and so on Object technology is a packaging scheme that enables programmers to create meaningful software units. Object-Oriented Programming tends to produce software that is more understandable, better organized, and easier to maintain, modify and debug. 11/06/13 Mr. Roger C. Argarin 9
  • 10.  Object ==> Noun   Property ==> Adjective   Move a Form Event ==> Occurs when the user takes an action   Color of a Form Method ==> Verb   Form and Controls User clicks a button, User moves a form Class ==> Template to create new object  11/06/13 Each control added is an Instance of a Class Mr. Roger C. Argarin 10
  • 11.  Used to reference object's properties and events in code  Object dot Property  Form.Text, TextBox.Text  Object dot Event  Form.Hide( ), TextBox.Focus( )  To reference an object's events use an underscore instead of a dot  Button_Click, ListBox_TextChanged 11/06/13 Mr. Roger C. Argarin 11
  • 12.    Class = automobile Properties = make, model, color, year Object = each individual car    Object is also an Instance of the automobile class Methods = start, stop, speedup, slowdown Events = car arrives, car crashes 11/06/13 Mr. Roger C. Argarin 12
  • 13.  Learning Visual Basic.NET Programming Language includes to learn:  The graphical user interface or GUI (“gooey”) which is an essential component of visual programming  The GUI defines how various elements look and function Visual Basic programming language Microsoft Developers Network Homepage for VB.NET: http://msdn.microsoft.com/vbasic  11/06/13 Mr. Roger C. Argarin 13
  • 15.  To create a VB.NET program you will utilize the Visual Basic .NET 2005 development environment, and you will create a window, called form  select elements, which are classes, from a toolbox and place them within the window, called controls  write code for each object that you place on the window that defines how the object responds to various events, called object-oriented programming (OOP).  11/06/13 Mr. Roger C. Argarin 15
  • 16.  The style of Execution as shown below is called event-driven: A GUI determines how a user interacts with the program  Each user interaction with the computer: pressing a key, clicking a button, or selecting a menu item causes an event to occur  Whenever an event occurs, the code you have written to handle that event is executed  11/06/13 Mr. Roger C. Argarin 16
  • 17.  Visual Studio .NET 2005 includes:  Visual Basic, Visual C++, C#, J#, and the .NET framework.  The .NET framework allowing objects from different languages to operate together  The .NET languages-based programs all compile to a common machine language, called Microsoft Intermediate Language (MSIL)  The MSIL code runs in the Common Language Runtime (CLR), which is part of the file .NET framework. 11/06/13 Mr. Roger C. Argarin 17
  • 18.  Planning (design) design the GUI (user interface)  list the objects and properties needed  plan the event procedures (what the code does)   Programming (implementation) define the GUI using objects (Forms, Text Boxes, Labels, etc.  set the properties  write BASIC code to implement procedures  11/06/13 Mr. Roger C. Argarin 18
  • 19.  Each Visual Basic application create the following files with extensions:  .sln - a solution file that holds information about the project. This is the only file that is opened  .suo - a solution user options file that stores information about the selected options  .vb - a .vb file that holds the definition of a form  .resx - a resource file for the form  .vbproj - a project file that describes the project and lists the files are included  .vbproj.user - a project user option file that holds project option settings 11/06/13 Mr. Roger C. Argarin 19
  • 20.     Click on -> Start Choose -> All Programs Choose -> Microsoft Visual Studio .NET 2005 Click on -> Microsoft Visual Studio .NET 2005 11/06/13 Mr. Roger C. Argarin 20
  • 22. The Microsoft VS Development Environment is also called integrated development environment (IDE): A form designer  A code editor  A compiler  A debugger  An object browser  11/06/13 Mr. Roger C. Argarin 22
  • 23. Each window can be moved, resized, opened, closed, or customized  Menu bar  Toolbar Menu bar – includes file, edit, view, project, build, debug, data, format, tools, window, and help menu Toolbar - includes many buttons as shortcuts for frequently used operations. Each button represents a command that can be selected from a menu. Most toolbars’ buttons are displayed in the main window of the IDE    Menu bar Toolbar 11/06/13 Mr. Roger C. Argarin 23
  • 25.   11/06/13 Click Toolbox from the Toolbar s Toolbox contains a list of tools that helps to design projects Mr. Roger C. Argarin 25
  • 27. •The properties window allows you to see and set all of the properties of the particular object that you have placed on the form. There are many properties for each object, and all can be seen by scrolling down the properties window. 11/06/13 Mr. Roger C. Argarin 27
  • 28.   Introduction – Learning Objectives of the class Introduction to Visual Basic .NET2005 Basic Concept of Visual Basic  Visual Basic Programming Language    Use Microsoft Visual Studio .NET2005 Next - First Visual Basic Planning and Programming 11/06/13 Mr. Roger C. Argarin 28

Hinweis der Redaktion

  1. Here are more details of each window that opens when you Start a New Project in Microsoft Visual Basic .NET2005. The IDE main window includes Toolbars, Document Window, Form Designer, Solution Explorer Window, Properties Window, and Toolbox. You should make the Visual Basic main window full-screen in order to see all of the smaller windows. You see the menu bar at the top, and the toolbar right below. If you do not have the same layout as above, go to the View menu from menu bar and select whichever of the windows are not presented. After that, you see the Form window is at the center. The Form window is where you design a form that makes up your user interface. The Form design window of Form1 is currently displaying, you can drag the form’s sizing handles to change the size of the form. When you begin a new Visual Basic windows project, a new form is added to the project with the default name Form1. The most used window is the Toolbox, which is located at the left side of screen. The Toolbox appears when you press the Toolbox Tab on the left of the window, The Toolbox contains all of the controls to be used this semester. The solution explorer window is right next to the Form window. The solution explorer window enables you to select the form or module you want to see or to switch between a form and a Basic code for the project. The properties window is at the right side of screen. The Properties window contains all of the properties of whichever control you have selected on the form and is extremely important because this is where you will change many properties of each object.
  2. The toolbox holds the tools you need to place controls on a form. You may have more or different tools in your toolbox, depending on the edition of visual basic you are using, such as standard edition, professional edition, or enterprise edition.
  3. The Solution Explorer window holds the filenames for the files included in your project welcome and a list of the classes it references. The window’s title bar holds the name of your solution file (welcome.sln), which is the name you give it in the New Project dialog box. Here, there is just one form, named Form1, but later we will have more than one form visible in this window.