Introduction to Visual Programming
- What is Visual Programming?
- Advantages of Visual Programming
- Disadvantages of Visual Programming
With the development of electronic system, computer has made greater impact on society than other devices. They have made a potentially significant contribution to the society during the last four decades.
The development has obtained its optimum level as every needs of the human are made easily available and are completed with less time duration. Which was possible with the development of several applications. They dominate every sphere of life be it entertainment, education, banking, insurance, research, medicine, design or manufacturing. They continue to grow and open new horizons of discovery and application.
One of the primary reasons for the immense popularity of computer of the speed with which they can accomplish specified tasks. However, computer applications are not always easy to use.
Any application has its two parts:
- User interface – This is the screen display of the application or it is also called Front End of the program where users are interacted with the function of the application. Every application has user interface to interact with the user in one or many Forms. User interface encourages users to provide the instruction that are asked by the application.
- Programming – Programming is done at the Back End of the user interface. As the user interface provides the user to select the instruction in application, programming gives the clear-cut instruction for the function selected by the user. In simple it is the set of rules including the instructions what need to be done for that command and this is what a computer understands.
Visual Programming provides the user with an interface that is intuitive and easy to use. In developing such an interface, the programmer needs to use the user friendly features like windows, forms, menus, buttons, and list boxes and so on.
A visual programming environment provides all the features that are required to develop a graphical user interface as ready-to-user components. The programmer does not have to write code to create and display commonly used user-friendly components each time around.
In visual programming, when a certain component or feature as button is needed, then the programmer just need to drag-and-drop the ready-to-use component from the toolbar to the Form window. They can simply add more, resize, move and rename the component for programmers ease. Typically a mouse is used to select and place the necessary component. Thus, the visual programming environment is also called a point and click environment.
Visual programming enables attaching the same codes for the similar kinds of components. For example in calculator, using of control arrays of components to handle the click event of the digits.
Visual programming enables:
- Visual development of graphical user interface which are easy to use and easy to learn.
- Eliminates the tradition of writing of code to display the required components.
- Facilitates to use the ready to use components. The programmer picks up the required components from this list to display it.
- The component can be moved, resized and even deleted, if so required.
- There is no restriction on the number of controls that can be placed on a form.
- The interface components provided by the visual programming environment have some code built into them to handle events generated during the run state.
When visual programming makes it very simple to create complex user interfaces, it suffers from some disadvantages:
- As the name implies, the entire process of developing an application using a visual development environment is visual. Thus, the development environment in itself is highly graphical in nature and therefore requires more memory.
- Computer supporting the video graphics system with high performance is required.
- Larger capacity hard disk.
- More RAM.
- Faster Processor.
- Visual programming can be done only with GUI operating systems as Windows.
Some popular visual programming tools are:
- Visual Basic
- Developer 2000
More Chapters/ Tutorials on Visual Basic 6
This Chapter includes more detailed tutorial on Visual Basic and walkthrough
This chapter includes a full tutorial on “Building Math Calculator as First Visual Basic Project”
You’ll know more about the Development Environment of Microsoft Visual Basic IDE.
Learn more about fundamental visual interface components and more gui components used in Visual Basic Development Environment.
Working with Visual Basic Controls guides different ways of using various Controls interfaces like textbox, combobox and many more with their various event handler.