Presentation is loading. Please wait.

Presentation is loading. Please wait.

Integrated Development Environment Visual Basic IDE Slide 2 of 10 Topic & Structure of the lesson Introduction Integrated Development Environment Tool.

Similar presentations


Presentation on theme: "Integrated Development Environment Visual Basic IDE Slide 2 of 10 Topic & Structure of the lesson Introduction Integrated Development Environment Tool."— Presentation transcript:

1

2 Integrated Development Environment Visual Basic

3 IDE Slide 2 of 10 Topic & Structure of the lesson Introduction Integrated Development Environment Tool Box Properties Window Form Window Saving a Project

4 Visual Basic IDE Slide 3 of 10 Learning Outcomes At the end of this lesson you should be able to : 1.Know the Integrated Development Environment 2.Use the Project window 3.Use the Visual Basic Toolbox 4.Use Form Layout Window 5.Use the Properties Window 6.Save a Visual Basic Project

5 Visual Basic IDE Slide 4 of 10 Keywords If you have mastered this topic, you should be able to use the following terms correctly in your assignments and exams: nIDE nToolbox nText Box nLabel nCommand Button nForm Window nProperties

6 Visual Basic IDE Slide 5 of 10 VB IDE is used to Create, Run and Debug Visual Basic programs in one application without the need to open additional programs. Integrated Development Environment

7 Visual Basic IDE Slide 6 of 10 Starting Visual Basic 6.0 Select Microsoft Visual Studio Select Visual Basic 6.0 Click Standard.EXE to start programming

8 Visual Basic IDE Slide 7 of 10 Viewer buttons that can show the interface elements or the programming. List of Forms. Other files - modules The Project Window

9 Visual Basic IDE Slide 8 of 10 Picture Box Text Input Box Command Button Radio Button List Box Vertical Scroll Bar Drive List Box File List Box Line Data Control Selection arrow Text Label Frame Check Box Combo Box Horizontal Scroll Bar Timer Directory List Box Shape Image Visual Basic Toolbox

10 Visual Basic IDE Slide 9 of 10 Group Exercise Match as many controls on the toolbar : a)Command Button b)Option Button c)Label d)Line e)Frame f)Image g)Picture Box h)VScrollBar i)Text Box j)Timer k)Check Box l)Radio Buttons

11 Visual Basic IDE Slide 10 of 10 Option buttons are used in a groups where only one can be true. OptionButton Provide the user with a toggle choice (checked or unchecked). Check Box Represent a button.CommandButto n A control for grouping other control. Frame Accepting the user input and can display text also. TextBox Displays uneditable text to the user. Label Displays Image.PictureBox DescriptionControl Visual Basic Toolbox

12 Visual Basic IDE Slide 11 of 10 A control for accessing directories. DirListBox A control for accessing the system disk drives (C : A : etc.). DriveListBox A control that performs a task at programmer-specified intervals. A Timer is not visible to the user. Timer A vertical scrollbar.VScrollBar A horizontal scrollbar.HScrollBar Provides a short list of items.ComboBox Provides a long list of items.ListBox DescriptionControl Visual Basic Toolbox

13 Visual Basic IDE Slide 12 of 10 Exercise Describe the purpose of the following controls : 1.Text Box 2.Label 3.Command Button 4.Check Box 5.Option Buttons 6.Frame 7.Picture Box

14 Visual Basic IDE Slide 13 of 10 Form layout windows specifies a form’s position on a screen at runtime. The Form Layout window consists of an image representing the screen and the form’s relative position on the screen. Form Layout Screen Form

15 Visual Basic IDE Slide 14 of 10 The properties window displays the properties for a form or control. Properties are attributes such as size, position, color,etc. Properties Window

16 Visual Basic IDE Slide 15 of 10 Name Of Control or Form Type Of Control or Form Scroll Bar Selected Property Description Properties Window

17 Visual Basic IDE Slide 16 of 10 Exercise List FIVE other properties that you can think of for an object. Why are they needed ?

18 Visual Basic IDE Slide 17 of 10 File and Project Tools Menu Bar and Tool Bar Run and Debug Buttons Size and position info The menu bar

19 Visual Basic IDE Slide 18 of 10 Executing a program, stopping a program, etc. Run Options for debugging.Debug Aligning and locking a Form’s control.Format Adding features e.g forms to the project.Project Displaying IDE windows and tool bars.View Cut, paste, find, undo, delete, etc.Edit Used for opening, closing, and printing projects, etc. File DescriptionMenu Menu Bar and Tool Bar

20 Visual Basic IDE Slide 19 of 10 Displaying a Line of Text

21 Visual Basic IDE Slide 20 of 10 Save a Form and Project Ensure that the Form is saved first before saving the project. Rules Click File Menu Save Form1 as …. then Save Project as ……..

22 Visual Basic IDE Slide 21 of 10 Group Exercise True/False 1.The toolbar contains the control items 2.The Project window is also called the Project Explorer 3.The tool bar provides an easy way to run certain menu commands 4.VB is an integrated development environment 5.Caption is used to display a name for an object 6.A text box can only be used to display items 7.A command button is used to execute a program 8.A form is used to place components for design purpose 9.VB is used to create web or internet applications

23 Visual Basic IDE Slide 22 of 10 Home Work Design an interface and place your Name, Intake and Institute Name on three separate labels. Place three text boxes on the form Place a command button to display your name, intake and institute’s name on the text boxes. Place Apiit Logo on the form using a Picture Box. Save your VB Project in A:\VB\exercise1.vbp


Download ppt "Integrated Development Environment Visual Basic IDE Slide 2 of 10 Topic & Structure of the lesson Introduction Integrated Development Environment Tool."

Similar presentations


Ads by Google