Visual Basic is a development of the language BASIC (Beginner `s All-Purpose Symbolic Instruction Code). At first, BASIC was designed in order to be used by novice programmers. Visual Basic still retaining some of the syntax or format of writing a program in BASIC language.
Some of the capabilities or benefits of Visual Basic is :
File: Managing Files and Printing, as well as to create executable EXE file. For example, New, Save, Open, and so on.
Some of the capabilities or benefits of Visual Basic is :
- Can be used to create Windows-based applications easily and quickly, which produces a final extension programs. EXE executable in nature, or can be directly executed.
- Can be used to create objects such as a program assistant Active X control, Help files, Internet applications, and so on.
File: Managing Files and Printing, as well as to create executable EXE file. For example, New, Save, Open, and so on.
- Edit: standard editing function, Undo and Searching. For example Cut, Paste.
- View: Show or hide the Form Window and the Toolbar.
- Project: Set the project properties, add or reduce the form and module, as well as to increase or decrease the control object is used.
- Debug: Start or stop debugging and stepping.
- Run: run the program, such as Run, Build.
Toolbox : a collection of symbols is the control / object that contain all the objects or controls needed to make an application program.
Form Designer : It is a appearance in the middle (largest) as a form of work design and the object or control is placed.
Code Window : It is a appearance in the middle (largest) that alternate with Form Designer, containing the codes of the program for each object or control. Source code is the control center of the application ordered anything done by the application program.
Project Explorer : It is a window on the right above that describes the hierarchy of project files / programs that are undertaken. Hierarchy / the contents of this project can be forms or modules.
Properties Window : It is the right of the window that displays the properties or the nature or characteristics of a form or control. List this property can be changed according to the form or control that was selected.
Toolbar : This is the icon row of buttons below the menu bar that represents a specific command from Visual Basic. Usefulness of each button from left to right can be seen as follows.
(Combo box) shaped box drop down options.
(Shape) Built forms flat (square, rectangle, circle, ellipse).
Programming Visual Basic programming techniques using an OOP (Object Oriented Programming) is a programming technique that models the program as a collection of objects that have relationships to each other or intertwined with each other wistful.
Each control (object) has properties, methods and events different.
Properties are attributes attached to a control (object) which is usually the appearance characteristics such as color, typeface, size and so on. Property of a control (object) can be changed at the time of programming (using the property window) or at the time the program starts (using the program codes in the code window).
Form Designer : It is a appearance in the middle (largest) as a form of work design and the object or control is placed.
Code Window : It is a appearance in the middle (largest) that alternate with Form Designer, containing the codes of the program for each object or control. Source code is the control center of the application ordered anything done by the application program.
Project Explorer : It is a window on the right above that describes the hierarchy of project files / programs that are undertaken. Hierarchy / the contents of this project can be forms or modules.
Properties Window : It is the right of the window that displays the properties or the nature or characteristics of a form or control. List this property can be changed according to the form or control that was selected.
Toolbar : This is the icon row of buttons below the menu bar that represents a specific command from Visual Basic. Usefulness of each button from left to right can be seen as follows.
- Add Project: Adding the project into an existing project.
- Data View Window: Displays the data view window.
- Toolbox: Displays the window toolbox.
- Object Browser: Displays the Object Browser Window.
- Form layout window: Displays the Form Layout window which serves to show the position of form on the monitor screen.
- Properties window: Displays the Properties window.
- Project Explorer: Displays windows explorer project.
- Start / Break / End: Running / pause / stop the project made.
- Save Project Group: Saving the Visual Basic project.
- Open Project: Opens the Visual Basic project that already exists.
- Menu Editor: Displays menu that serves as editor menu maker.
- Add Item: Adding components or objects into the window.
(Pointer) To select the control in the form.
(Picture box) container box drawing
(Paper label) that is static or can not be changed by the user
(Text Box) box where users enter text / data input
(Frame) Box for grouping several objects of control.
(Command button) key / button to trigger a specific program of action
(Check box) option box that nature is free to choose.
(Vscroll bar ) Has the form of a scroll bar can be moved up and down the vertical shape.
(Option box) its option box to select one.
(Combo box) shaped box drop down options.
(List box) Box-shaped selection list.
(Hscroll bar) Has the form of a scroll bar can be shifted to left and right horizontal.
(timer) timers.
(Drive list box) Grid computer drive option .
(Dir list box) Box list of directories / folders computer.
(File list box) Grid list of files on your computer.
(Shape) Built forms flat (square, rectangle, circle, ellipse).
(Line) Line form to create.
(Picture box) Container for a display of the image file.
(Data) Container for a display of the image file.
(OLE) Controls to include other objects.
Programming Visual Basic programming techniques using an OOP (Object Oriented Programming) is a programming technique that models the program as a collection of objects that have relationships to each other or intertwined with each other wistful.
Each control (object) has properties, methods and events different.
Properties are attributes attached to a control (object) which is usually the appearance characteristics such as color, typeface, size and so on. Property of a control (object) can be changed at the time of programming (using the property window) or at the time the program starts (using the program codes in the code window).
Method is the action that is owned by the controls (objects) so that the user (programmer) can use it to manipulate things. Method depends on the instructions given by the programmer through the writing of code. Example: Command1.Click
Event is an event or anything that can be experienced by an object. A control (object) can have a lot of events. Example: Command1_Click (). Example: Command1.Caption = "OK"
Tidak ada komentar:
Posting Komentar