This document provides an overview of the key features and visual development environment of programming tools like Visual Basic. It describes the different areas of the visual interface including the menu bar, form window, toolbox, toolbar, project explorer, and properties window. The purpose is to help students understand how to use these tools to develop graphical user interface applications in Visual Basic.
Visual Basic 6.0 is a programming language and integrated development environment that allows users to create graphical user interfaces. It provides windows, dialog boxes, menus and other visual elements to build applications. The IDE contains tools like a form designer, toolbox, and code editor to help developers build projects without writing extensive code. Projects created in Visual Basic can be saved and run as standalone executable files.
This document provides an introduction to Visual Basic 6.0 by describing its key components and features. It outlines the history of Visual Basic and how it evolved as a programming language. It then explains the main elements of the Visual Basic integrated development environment (IDE) playground, including the title bar, menu bar, toolbar, form window, toolbox, project explorer window, properties window, and form layout window. It also briefly mentions Visual Basic projects, object-oriented programming concepts, and concludes by thanking the reader.
Visual Basic is a tool for developing Windows GUI applications. It is event-driven, meaning code only runs in response to events like button clicks. Developers draw the user interface, assign control properties, and attach code to events. The interface has modes for design, running, and debugging applications. Key windows include the form, toolbox, properties, and code editor. Variables follow naming conventions and have different scopes depending on where they are declared.
Visual Basic is a programming language and tool that allows users to easily create graphical user interface (GUI) applications for Windows. It uses a drag-and-drop interface for designing application windows and controls, which makes the development process faster compared to other languages. The Visual Basic IDE provides various windows and tools to help with writing code, designing forms, and testing applications.
Visual Basic (VB) is a programming language and development environment created by Microsoft for building graphical user interface (GUI) applications. It uses an event-driven programming model and is ideal for rapid application development (RAD). Some key points about VB include that it has a large user base, enables access to databases, and allows building of Windows applications using pre-built components in an easy-to-understand syntax.
This document provides information about visual programming using Visual Basic 6 including:
- Visual Basic is an event-driven programming language that uses an Integrated Development Environment (IDE).
- The IDE contains tools like the toolbox, properties window, and code window to build applications. Projects can be standard applications, ActiveX controls, or other types.
- Projects contain different file types like forms (.frm), classes (.cls), and modules (.bas) that define the user interface and programming logic.
- The code window is used to write program statements using procedures, functions, conditional branching, and other programming structures. Comments can be added to document the code.
The document provides information on Oracle Forms Developer 6i including:
1) Oracle Forms Developer is a development environment for building database-centric applications using a declarative model-based approach and Oracle Forms Services for deployment.
2) It provides tools to easily construct sophisticated database forms and business logic.
3) Oracle Forms Services uses a three-tier architecture for delivering Forms applications over the internet, with the browser as the client tier, application server as middle tier, and database server as database tier.
Visual Basic is a programming language and integrated development environment created by Microsoft that allows developers to drag and drop objects and manually write code. It is designed to make software development easy through its graphical user interface and event-driven programming model. Key features of Visual Basic include its GUI interface, support for modularization, object-oriented programming, debugging tools, and data access capabilities. Variables in Visual Basic can be declared as local, semi-global, or global depending on their intended scope. The code window displays event procedures that execute code in response to user interactions with controls.
Visual Basic is a programming tool that allows users to develop graphical user interface (GUI) applications for Windows by dragging and dropping pre-built objects onto a form, rather than writing extensive code. It introduced event-driven programming and incorporates concepts like objects, events, and event procedures. The Visual Basic integrated development environment (IDE) provides tools like a form window to design the application, a toolbox of controls, and a properties window to set control properties when building a Visual Basic application.
Visual Basic is an ideal programming language for developing Windows applications using a graphical user interface. It was developed from the BASIC programming language. The Visual Basic integrated development environment includes components like a menu bar, toolbars, project explorer, properties window, toolbox, form designer, and object browser to help developers build applications. Developers can drag and drop controls from the toolbox onto forms to create the application interface.
This document provides information on creating and working with menus in Visual Basic 6.0. It explains that menus are an important part of software interfaces and are different from other controls. It provides steps for building a simple menu by filling in fields in the Menu Editor window. The document also discusses important menu item properties like Name, Caption, Checked, Enabled, Shortcut and Visible. It includes code examples that demonstrate changing a form's color by clicking different menu items and toggling a label's visibility based on a menu item's Checked property.
This document discusses different types of controls available in Visual Basic, including intrinsic controls, ActiveX controls, and common dialog controls. It provides examples of commonly used intrinsic controls like checkboxes, command buttons, and text boxes. It also summarizes some standard ActiveX controls included with Visual Basic like the ADO Data Control, DataGrid, and FlexGrid. Finally, it describes the common dialog control and how it can be used to access built-in dialog boxes for opening/saving files, selecting colors/fonts, and printing.
This document discusses button controls in VB.NET. It describes how buttons are a common element in visual interfaces that allow users to trigger events. Buttons can be created by dragging them from the toolbox onto a form or by writing code at runtime. The document then lists some key properties of button controls like background color, text, and event handlers. It provides an example of a button that checks if a number entered in a textbox is odd or even.
This document provides an introduction to Visual Basic (VB). It describes VB as an evolved version of BASIC that is visual and event-driven. The VB environment contains a blank form window to design interfaces, a project window to view files, and a toolbox of controls. It also explains how to create a standard executable program in VB and describes the main components of the VB environment.
The document discusses various common dialog boxes in Visual Basic, including open/save file dialogs, find/replace, print setup, color, and font dialog boxes. It provides details on how to display each dialog box type and retrieve user selections through properties like FileName, Color, FontName, and FontSize. The rich textbox control is also summarized, which allows formatting text with different fonts, sizes, colors and supports loading/saving files.
The document describes the main components of the Visual Basic work environment including the main window, menu bar, toolbar, and toolbox. It explains how events work and how they are handled through event procedures. Common user actions that trigger events are starting the program, pressing keys, mouse movements, and closing the program. The document provides steps for creating a Visual Basic application using the wizard, including selecting project options and interface elements. It describes how to view and run the generated code.
1) The document discusses Visual Basic 2008, an object-oriented programming language developed by Microsoft. It covers topics like event-driven programming, the integrated development environment, modes of VB programs, common controls and properties, and hands-on VB topics.
2) It provides an overview of developing a VB application, including creating a form, adding controls, setting properties, writing event code, and running the application.
3) Career opportunities mentioned include jobs as a software developer or web developer working with Visual Basic.
Introduction to visual basic programmingRoger Argarin
The document outlines a course on Visual Basic programming using Visual Studio .NET2005. It introduces Visual Basic and its history, covers basic concepts like object-oriented programming and event-driven programming. It describes setting up the Visual Studio development environment and how to plan and create Visual Basic projects using forms, controls, properties, and code. References and resources are provided to learn more about Visual Basic and .NET programming.
Visual Programming Lectures using Visual Studio 2015 C# Windows Form Application
Lecturer: Saman M. Almufti / Kurdistan Region, Nawroz University
facebook: https://www.facebook.com/saman.malmufti
The document discusses the various tools available in the Visual Basic toolbox for designing user interfaces. It provides descriptions of commonly used controls like labels, textboxes, command buttons, checkboxes, option buttons, frames, listboxes, comboboxes, timers, shapes, pictures and images. For each control, it lists some key properties and their functions.
Visual Basic is a third-generation event-driven programming language and integrated development environment from Microsoft. It was derived from BASIC and enables rapid application development of graphical user interface applications. Visual Basic allows programmers to create simple GUI applications as well as complex applications. It went through several versions until version 6 in 1998, after which Microsoft's extended support ended in 2008 and it was replaced by Visual Basic .NET.
The document provides information on how to work with Visual Basic (VB), including how to start a VB project, the components of the VB window, how to place controls on a form, set properties, add code to handle events, and develop a basic VB application to display a message. The key steps are to start a new project, place controls like labels and textboxes on the form, set properties like font and color, add code triggered by events, save and run the project to see the output.
Visual Basic is an object-oriented programming language that uses a graphical user interface (GUI) environment. It allows programmers to create applications with objects like buttons that respond to user events like mouse clicks and interact with other objects. The Visual Basic environment contains six main components: the menu bar, toolbar, project explorer window, toolbox, form, and properties window.
The document discusses different toolbar controls in Visual Basic - toolbars, status bars, and coolbars. It provides steps for adding each control to a form and customizing their appearance and functionality. For toolbars, this includes adding buttons, handling button clicks, adding separators and images. For status bars, it covers adding panels and displaying text. For coolbars, it outlines adding controls to the bands.
Visual Basic provides a convenient method for building user interfaces compared to other programming languages. It allows drawing buttons, text boxes and other controls onto a form and adding code to handle user interaction. More complex controls can execute commands, have active properties, and support many event types. Visual Basic can also interface with code written in C for efficiency.
The document provides an overview of the Visual C# 2010 programming language and the Visual Studio integrated development environment (IDE). It describes some of the key windows and tools in Visual Studio used for writing, debugging, and organizing C# code. It then provides examples of how to use common controls like labels, buttons, textboxes, checkboxes, and progress bars in Windows Forms applications. The document is intended to help readers learn the basics of building graphical user interfaces in C# using Visual Studio.
C lecture 3 control statements slideshareGagan Deep
The document discusses different types of loops in programming languages that are used for repetition of tasks. It describes while, do-while and for loops as the three main types of loops. While and do-while loops are conditional loops that check a condition each time before repeating the code block. For loops allow repetition for a set number of times using three expressions for initialization, condition and increment. Some examples are provided to demonstrate the use of these loops to print numbers from 1 to 10.
Visual Basic is a programming language and integrated development environment created by Microsoft that allows developers to drag and drop objects and manually write code. It is designed to make software development easy through its graphical user interface and event-driven programming model. Key features of Visual Basic include its GUI interface, support for modularization, object-oriented programming, debugging tools, and data access capabilities. Variables in Visual Basic can be declared as local, semi-global, or global depending on their intended scope. The code window displays event procedures that execute code in response to user interactions with controls.
Visual Basic is a programming tool that allows users to develop graphical user interface (GUI) applications for Windows by dragging and dropping pre-built objects onto a form, rather than writing extensive code. It introduced event-driven programming and incorporates concepts like objects, events, and event procedures. The Visual Basic integrated development environment (IDE) provides tools like a form window to design the application, a toolbox of controls, and a properties window to set control properties when building a Visual Basic application.
Visual Basic is an ideal programming language for developing Windows applications using a graphical user interface. It was developed from the BASIC programming language. The Visual Basic integrated development environment includes components like a menu bar, toolbars, project explorer, properties window, toolbox, form designer, and object browser to help developers build applications. Developers can drag and drop controls from the toolbox onto forms to create the application interface.
This document provides information on creating and working with menus in Visual Basic 6.0. It explains that menus are an important part of software interfaces and are different from other controls. It provides steps for building a simple menu by filling in fields in the Menu Editor window. The document also discusses important menu item properties like Name, Caption, Checked, Enabled, Shortcut and Visible. It includes code examples that demonstrate changing a form's color by clicking different menu items and toggling a label's visibility based on a menu item's Checked property.
This document discusses different types of controls available in Visual Basic, including intrinsic controls, ActiveX controls, and common dialog controls. It provides examples of commonly used intrinsic controls like checkboxes, command buttons, and text boxes. It also summarizes some standard ActiveX controls included with Visual Basic like the ADO Data Control, DataGrid, and FlexGrid. Finally, it describes the common dialog control and how it can be used to access built-in dialog boxes for opening/saving files, selecting colors/fonts, and printing.
This document discusses button controls in VB.NET. It describes how buttons are a common element in visual interfaces that allow users to trigger events. Buttons can be created by dragging them from the toolbox onto a form or by writing code at runtime. The document then lists some key properties of button controls like background color, text, and event handlers. It provides an example of a button that checks if a number entered in a textbox is odd or even.
This document provides an introduction to Visual Basic (VB). It describes VB as an evolved version of BASIC that is visual and event-driven. The VB environment contains a blank form window to design interfaces, a project window to view files, and a toolbox of controls. It also explains how to create a standard executable program in VB and describes the main components of the VB environment.
The document discusses various common dialog boxes in Visual Basic, including open/save file dialogs, find/replace, print setup, color, and font dialog boxes. It provides details on how to display each dialog box type and retrieve user selections through properties like FileName, Color, FontName, and FontSize. The rich textbox control is also summarized, which allows formatting text with different fonts, sizes, colors and supports loading/saving files.
The document describes the main components of the Visual Basic work environment including the main window, menu bar, toolbar, and toolbox. It explains how events work and how they are handled through event procedures. Common user actions that trigger events are starting the program, pressing keys, mouse movements, and closing the program. The document provides steps for creating a Visual Basic application using the wizard, including selecting project options and interface elements. It describes how to view and run the generated code.
1) The document discusses Visual Basic 2008, an object-oriented programming language developed by Microsoft. It covers topics like event-driven programming, the integrated development environment, modes of VB programs, common controls and properties, and hands-on VB topics.
2) It provides an overview of developing a VB application, including creating a form, adding controls, setting properties, writing event code, and running the application.
3) Career opportunities mentioned include jobs as a software developer or web developer working with Visual Basic.
Introduction to visual basic programmingRoger Argarin
The document outlines a course on Visual Basic programming using Visual Studio .NET2005. It introduces Visual Basic and its history, covers basic concepts like object-oriented programming and event-driven programming. It describes setting up the Visual Studio development environment and how to plan and create Visual Basic projects using forms, controls, properties, and code. References and resources are provided to learn more about Visual Basic and .NET programming.
Visual Programming Lectures using Visual Studio 2015 C# Windows Form Application
Lecturer: Saman M. Almufti / Kurdistan Region, Nawroz University
facebook: https://www.facebook.com/saman.malmufti
The document discusses the various tools available in the Visual Basic toolbox for designing user interfaces. It provides descriptions of commonly used controls like labels, textboxes, command buttons, checkboxes, option buttons, frames, listboxes, comboboxes, timers, shapes, pictures and images. For each control, it lists some key properties and their functions.
Visual Basic is a third-generation event-driven programming language and integrated development environment from Microsoft. It was derived from BASIC and enables rapid application development of graphical user interface applications. Visual Basic allows programmers to create simple GUI applications as well as complex applications. It went through several versions until version 6 in 1998, after which Microsoft's extended support ended in 2008 and it was replaced by Visual Basic .NET.
The document provides information on how to work with Visual Basic (VB), including how to start a VB project, the components of the VB window, how to place controls on a form, set properties, add code to handle events, and develop a basic VB application to display a message. The key steps are to start a new project, place controls like labels and textboxes on the form, set properties like font and color, add code triggered by events, save and run the project to see the output.
Visual Basic is an object-oriented programming language that uses a graphical user interface (GUI) environment. It allows programmers to create applications with objects like buttons that respond to user events like mouse clicks and interact with other objects. The Visual Basic environment contains six main components: the menu bar, toolbar, project explorer window, toolbox, form, and properties window.
The document discusses different toolbar controls in Visual Basic - toolbars, status bars, and coolbars. It provides steps for adding each control to a form and customizing their appearance and functionality. For toolbars, this includes adding buttons, handling button clicks, adding separators and images. For status bars, it covers adding panels and displaying text. For coolbars, it outlines adding controls to the bands.
Visual Basic provides a convenient method for building user interfaces compared to other programming languages. It allows drawing buttons, text boxes and other controls onto a form and adding code to handle user interaction. More complex controls can execute commands, have active properties, and support many event types. Visual Basic can also interface with code written in C for efficiency.
The document provides an overview of the Visual C# 2010 programming language and the Visual Studio integrated development environment (IDE). It describes some of the key windows and tools in Visual Studio used for writing, debugging, and organizing C# code. It then provides examples of how to use common controls like labels, buttons, textboxes, checkboxes, and progress bars in Windows Forms applications. The document is intended to help readers learn the basics of building graphical user interfaces in C# using Visual Studio.
C lecture 3 control statements slideshareGagan Deep
The document discusses different types of loops in programming languages that are used for repetition of tasks. It describes while, do-while and for loops as the three main types of loops. While and do-while loops are conditional loops that check a condition each time before repeating the code block. For loops allow repetition for a set number of times using three expressions for initialization, condition and increment. Some examples are provided to demonstrate the use of these loops to print numbers from 1 to 10.
How to make choices using conditional statements, manage flow control using branching statements and repeat blocks of code using looping statements in .NET.
Functions are named blocks of code that perform a specific task and return a result. They can take arguments and have a return data type. Procedures perform tasks but do not return results. There are two types of procedures: general procedures for specific purposes and event procedures associated with object events. Functions and procedures are called with or without the CALL keyword and can pass arguments by reference or by value.
This document discusses decision making statements in Visual Basic. It describes two main types of decision making statements: IF statements and Select Case statements.
The IF statement performs one of two possible code actions depending on the result of a comparison. It can be a simple IF, IF Else, or nested IF. The Select Case statement is used for multiple conditional statements and is better than nested IF statements when there are many conditions to check. Both IF and Select Case statements use comparison operators to evaluate conditions and determine which code to execute.
This document provides an overview of control structures in Visual Basic. It describes the three types of control structures: sequence, selection, and iteration. Sequence refers to the default sequential execution of statements. Selection structures like If/Then/Else and Select Case allow branching program execution based on conditions. Iteration structures like For/Next loops and Do/Loop statements allow repeating a block of code until a condition is met. The document provides details and syntax examples for If/Then/Else, Select Case, For/Next loops, and Do/Loop in Visual Basic.
Visual Basic (VB) is a visual programming language used to build applications and websites. VB uses an integrated development environment (IDE) that provides tools to create, debug, and run programs. Programs created with VB can be stored as various project components like forms, classes, and modules. The VB IDE contains windows and tools to write code in a visual layout, set properties of objects, and navigate project files. VB supports both procedural and object-oriented programming through features like conditional branching, functions, and user-defined objects.
This document summarizes three types of decision making statements in VB.NET: If...Then, If...Then...Else, and Select Case. It provides the syntax and examples of each statement type. The If...Then statement executes code if a condition is true, while If...Then...Else executes one set of code if true and another if false. Select Case checks a variable against multiple potential values and executes the code for the matching value.
This document discusses different looping statements in VB.NET including While, Do, and For loops. While loops execute a block of statements repeatedly as long as a condition is true. Do loops can execute a fixed block of statements an indefinite number of times using the keywords While or Until. For loops enable executing a series of expressions multiple times using a loop index to count iterations from a start to end value.
The document discusses looping statements in Java, including while, do-while, and for loops. It provides the syntax for each loop and explains their logic and flow. While and for loops check a condition before each iteration of the loop body. Do-while loops check the condition after executing the body at least once. Nested loops run the inner loop fully for each iteration of the outer loop. Infinite loops occur if the condition is never made false, causing the program to run indefinitely.
The document discusses the flow of control in programs and control statements. There are two major categories of control statements: loops and decisions. Loops cause a section of code to repeat, while decisions cause jumps in the program flow depending on calculations or conditions. Common loop statements are for, while, and do-while loops. Common decision statements include if-else and switch statements. Nested statements and loops can also be used to further control program flow.
This document provides an overview of Windows Programming using Microsoft Visual Basic 6.0. It discusses the key elements of the Visual Basic Integrated Development Environment including the menu bar, toolbar, toolbox, form designer, properties window, and code editor window. It then provides two programming examples: 1) Designing a form to display a user's full name when a button is clicked. 2) Creating an application using data types, variants, and arrays in Visual Basic. The document concludes with an example of designing a login page that displays different messages based on entering the correct or incorrect username and password.
Visual Basic is an event-driven programming language used to create graphical user interface (GUI) applications. It features drag-and-drop controls, properties, methods, and events to simplify rapid application development. Visual Basic supports both procedural and event-driven programming. Event procedures define how an application reacts to user actions like mouse clicks or key presses.
Introduction, Generations of computer, Visual Basic environment, Code window, Properties Window, IDE, Form Window, Starting an Application,Adding an Image Control, Running an Application
The document discusses various topics related to the Visual Basic integrated development environment (IDE) and controls. It describes starting a new project in Visual Studio, the toolbox and common controls like command buttons, properties windows, and events. It also covers image controls, text boxes, labels, message boxes, grids, and provides examples of using properties and events for controls.
IN THIS U CAN FIND
* Integrated Development Environment
* IDE COMPONENTS
* Features of Visual Basic
* Steps in Developing Application
* creating controls
* Access keys
* VARIABLES AND DATA TYPES
* STRING MANIPULATION FUNCTIONS
This document discusses Visual Basic and its integrated development environment. It covers starting a new project, common form properties like name, color, and scale, and controls in the toolbox like command buttons, text boxes, and images. It also discusses properties of controls, creating controls and using the name property, properties of command buttons, and the visual basic IDE interface with elements like the solution explorer and output window.
The document describes Visual Studio .NET and Visual Basic .NET. It explains that Visual Studio .NET is an integrated development environment that allows programming applications using multiple .NET languages like Visual Basic, C#, and C++. It provides tools for writing code, debugging, and running applications. Visual Basic .NET is an object-oriented programming language used to create Windows applications with graphical user interfaces. The document provides step-by-step instructions for creating a simple Visual Basic .NET application with buttons and event handling code.
Visual Basic 6.0 is an event-driven programming language that allows designing graphical user
interfaces. It uses objects, properties, and methods to create forms and controls. The document
discusses various controls like labels, text boxes, frames, checkboxes, option buttons, and images
that can be used to design user interfaces in VB6. It also covers concepts like properties, events,
errors and the VB6 integrated development environment.
Visual Basic has an integrated development environment (IDE) that contains various elements like menus, toolbars, a toolbox, and windows for code, properties, and projects. The IDE allows developers to design forms with controls, set control properties, write code in the code editor, and manage projects. Controls like buttons, text boxes, and labels are used to build the user interface, which appears on forms. Events and event procedures are important concepts, as Visual Basic is event-driven - code only runs in response to events.
The document discusses concepts related to Visual Basic programming, including:
- It defines key terms like programs, programmers, programming languages, and controls.
- It describes the Visual Basic environment and windows like the toolbox, properties window, and project explorer.
- It explains data types in Visual Basic like integers, strings, and Boolean, and how to declare and assign variables.
- It provides examples of mathematical, relational, and conditional operators used in Visual Basic code.
The document provides an introduction to programming basics and Visual Basic.NET (VB.NET), describing what a computer program and programming language are, and giving an overview of the VB.NET integrated development environment (IDE) and how to create a simple "Hello World" application in VB.NET. It explains that VB.NET is an object-oriented programming language designed by Microsoft for beginners to create Windows, web, and mobile applications.
The document provides an overview of Visual Basic 6 and its integrated development environment (IDE). It discusses the history of programming languages and how Visual Basic fits as an event-driven language. It then covers the key components of the Visual Basic IDE, including the toolbox, properties window, and how to attach event handlers to controls. Examples are provided of common events like mouse clicks and key presses. The document is intended as an introduction for developers to Visual Basic 6.
The document provides an overview of creating Windows Forms applications in C# using Visual Studio. It discusses key concepts like the differences between Windows and console applications, graphical user interfaces, adding controls to forms, and handling events. It also provides step-by-step instructions for setting up a basic Windows Forms project in Visual Studio, adding controls visually and programmatically, and handling events like loading and closing the form. Common controls like labels, textboxes, buttons, groupboxes, radio buttons, checkboxes and comboboxes are also explained.
The document provides an introduction to visual programming and object-oriented programming concepts in Visual Basic .NET 2005. It describes the process of visual program design and development, and defines key terms like classes, objects, properties, methods, and events. It also outlines the three steps for writing a Visual Basic project and identifies the various files that make up a Visual Basic project.
Visual Basic is a programming system developed by Microsoft that allows users to create graphical user interface applications for Windows using an event-driven programming language based on BASIC. It provides tools and objects for building forms, using controls and handling events, as well as features for database access, debugging, and distributing applications. Newer versions of Visual Basic introduced improvements like faster compilers, additional database and internet capabilities.
This chapter introduces programming concepts in C# and Visual Studio. It describes object-oriented programming, the Visual Studio integrated development environment, and the steps to create a simple "Hello World" C# program. Key points covered include classes, objects, properties, methods, events, the Visual Studio toolbox, properties window, and the three stages of writing and running a program: design time, run time, and debug time.
Visual Basic is a programming tool that allows users to develop graphical user interface (GUI) applications for Windows by dragging and dropping pre-built objects onto a form, rather than writing extensive code. It introduced event-driven programming and incorporates concepts like objects, events, event procedures, and has features for database handling, error handling and rapid application development. The Visual Basic integrated development environment provides interfaces like a toolbox of controls, a properties window, form window, and source code window to design and develop applications.
Visual Basic is a programming tool that allows users to develop graphical user interface (GUI) applications for Windows by dragging and dropping pre-built objects onto a form, rather than writing extensive code. It introduced event-driven programming and incorporates concepts like objects, events, event procedures, and has features for database handling, error handling and rapid application development. The Visual Basic integrated development environment provides interfaces like a toolbox of controls, a properties window, form window, and source code window to design and develop applications.
Visual Basic is a programming tool that allows users to develop graphical user interface (GUI) applications for Windows by dragging and dropping pre-built objects onto a form, rather than writing extensive code. It introduced event-driven programming and incorporates concepts like objects, events, event procedures, and has features for database handling, error handling and rapid application development. The Visual Basic integrated development environment provides interfaces like a toolbox of controls, a properties window, form window, and source code window to design, build, and run Visual Basic applications.
4. Parts of the VB Screen
O Blank form – where you can make your
own application’s interface
O Project Explorer Window - which displays
the files that are created in your
application
O Properties Window – displays the
properties of controls and objects that are
created in your application
O Toolbox – contains all control needed for
developing a Visual Basic Application
10. Form Layout
• Allows to specify the screen location of the forms
within a project
11. Steps in building the VB
Application
O Design the interface
O Set properties of the
controls (Objects)
O Write the event procedures
12. Control Properties
O Sets the properties for the control to
determine its appearance and how
it will work with the event procedure.
13. In the properties window
you can do the ff:
O Rename a caption
O Alter the appearance of the
form
O Change foreground and
background
O Change font type and size
O Enable or disable minimize
and maximize buttons
O Give special effects
14. Important points about setting
up your control…
O Set the Caption Property of a
control clearly so that a user knows
what to do with that command.
O Use a meaningful name for the
Name Property because it is easier
to write and read the event
procedure and easier to debug or
modify the programs later.
15. The Toolbox
O It contains all the control needed for
developing a Visual Basic
Application
17. Text Box
• is the standard control for accepting input
from the user as well as to display the output
18. In this example the text boxes
are used for input and the other
one is to display the sum of two
numbers that
are entered into the two text
boxes.
19. Label
O it is not only used to provide
instructions and guides to the
users, it can also be used to display
outputs. One of its most important
properties is Caption. Using the
syntax label.Caption, it can display
text and numeric data .
20. Command Button
O one of the most important controls as it is
used to execute commands. The most
common event associated with the
command button is the Click event, and
the syntax for the procedure is:
Private Sub Command1_Click ()
Statements
End Sub
21. Activity 1
Create and design your own user
interface in finding the Area of a
Rectangle.
Include: Textbox, Label and
Command button