Showing posts with label Visual Basic. Show all posts
Showing posts with label Visual Basic. Show all posts

Sunday, 15 September 2013

The Visual Basic Interface with video tutorial


Before we begin Visual Basic 6 programming, let us understand some basic concepts of programming. According to Webopedia, a computer program is an organized list of instructions that, when executed, causes the computer to behave in a predetermined manner. Without programs, computers are useless. Therefore, programming means designing or creating a set of instructions to ask the computer to carry out certain jobs which normally are very much faster than human beings can do.
A lot of people think that computer CPU is a very intelligent thing, which in actual fact it is a dumb and inanimate object that can do nothing without human assistance. The microchips of  a CPU can only understand two distinct electrical states, namely, the on and off states, or 0 and 1 codes in the binary system. So, the CPU only understands a combinations of 0 and 1 codes, a language which we called machine language. Machine language is extremely difficult to learn and it is not for us laymen to master it easily.  Fortunately , we have many smart programmers who wrote interpreters and compilers that can translate human language-like programs such as BASIC into machine language so that the computer can carry out the instructions entered by the users. Machine language  is known as the primitive language while Interpreters and compilers like Visual Basic are called high-level language. Some of the high level computer languages beside Visual Basic are  Fortran, Cobol, Java, C, C++, Turbo Pascal, and etc .  






















Visual Basic Programming An Introduction

Why Visual Basic?
  • H Programming for the Windows User

  • Interface is extremely complicated.

  • H Other Graphical User Interfaces (GUI) areno better.
  • H Visual Basic provides a convenient methodfor building user interfaces.
  • H Visual Basic can interface with code written
in C, for efficiency.


What Visual Basic is not

H Visual Basic is not, a powerful
programming language that enables you to
do anything you want.
H Visual Basic is not, elegant or fast.
H Visual Basic is not, a replacement for C.
H Visual Basic is not, anything like any other
programming language you have ever used.

When You Program in VB:

H You draw pictures of your user interface.
H You draw buttons, text boxes, and other
user-interface items.
H You add little snippets of code to handle the
user interaction.
H You add initialization code, usually as the
last step.
H If you like, you can code more complex
functions. (But many do not.)