Hi

Visual Basic Program

SHARE:

Visual Basic Program

Visual Basic is a tool that allows developing the windows (Graphical User Interface) application. Visual Basic is a language type program. It is governed by an event processor.

Programming Concept:- A set of logical introduction to the computer system by which we can instruct the computer.

There are various types of program tools. They are –

  • Flow Chart:- A graphic repetition of the program logical is called Flow Chart.

  • Algorithm:- The art of calculation by the program and a texture the presentation of programming logical is called Algorithm symbol of Flow Chart. Such as- Start input, Stop etc.
The extension name of Visual Basic program is ‘.vbp’.

What is the full form of BASIC?


B = Beginners

A = All purpose

S = Symbolic

I = Instruction

C = Code

‘John G. Kemeny’ and ‘Tomas E. Kertz’ are known as the father of BASIC language. They have invented the BASIC language in 1964. They were the professor of ‘Dartmouth’ college from the USA.

The features of Visual Basic are –
  • Full set of controls for draw the application.

  • Lots of icons and picture for use.

  • Response to mouse and keyboard actions.

  • Clipboard and printer access.

  • A full array of mathematical, string handling and graphic function.

  • Useful debugger and error- handling facilities.

  • Powerful database access tools etc.
Minimum Hardware and Software requirement of Visual Basic are-

Visual Basic is part of Visual Studio group. The languages under in Visual Studio are-

  • Visual Basic

  • Visual C++

  • Visual FoxPro

  • Visual InterDev etc.

    Visual Basic Program


    Create any program by using Visual Basic so at first install Visual Studio 6.0 in the computer then used Visual Basic 6.0. The necessary configuration of a computer for run Visual Basic 6.0 is- minimum Pentium-1 machine, 64 MB RAM, 600 MB Hard Disk, colour monitor, SVGA display, mouse, CD or DVD-ROM drive etc.

    Advantages of Visual Basic Programming

    Advantages of Visual Basic Programming are-
    • Easy used by Text, Database or Binary files.

    • Easy used and learn for the Visual Basic developed by GUI.

    • Do not write any code to program for display the necessary component.

    • The Visual Basic application connected another application by using OLE (Object Linking Embedding), Clipboard or DDE (Dynamic Data Exchange).

    • Used many types of graphical format in Visual Basic. Like as- .bmp, .pcx, .jpg, .gif, .wmf etc.

    Disadvantages of Visual Basic Programming

    Disadvantages of Visual Basic Programming are-

    • Need high configuration machine for Visual Basic.

    • Only GUI based system software support Visual Basic.

    • Need sufficient memory.
    Application or Project is made up of Visual Basic-

    • FORMS: - Windows that are to create the user interface.

    • CONTROLS: - Graphic features drawn on forms to allow user instruction (e.g. Textbox, Label box, List box, Combo box, Command box, Frame etc).

    • PROPERTIES: - Name, Text, Color, Size, Caption etc.

    • METHODS: - Cls, Print, Set focus, Add item, colour, Visible, Remove item, Text etc.

    • EVENT PROCEDURES: - code related to the same object. This is the code that is executed when a certain event occurs.

    • GENERAL PROCEDURES: - Code not related to an object. This code must be invoked by the application.

    • MODULES: - Collection of general procedures, variable declaration and constant definitions used by the application.

    How many steps of developing the application in Visual Basic?

    There are three steps of developing the application in Visual Basic. This is-

    • Draw the user interface by placing the control on the form.

    • Assign properties to controls.

    • Attach code to control events.
    Different Data Type used in Visual Basic: -

    Many different Data types are used in Visual Basic for Variable. So at first discuss different Data type-
    • Byte: - Range of values from 0 to 255. Need 8 bits or 1 bytes memory for Byte Data type variable.

    • Integer: - This Data type is used to store for variable any number from -32, 768 to 32, 767. Need 16 bits or 2 bytes memory for Integer Data type variable.

    • Long: - This Data type is used to store for variable any number from -2147, 483,648 to 2147,483,647. Need 32 bits or 4 bytes memory for Long Data type variable.

    • Single: - This Data type is used to store the variable decimal number. Need 32 bits or 4 bytes memory for Single Data type variable.

    • Double: - This Data type is used to store the variable decimal number. Need 64 bits or 8 bytes memory for Double Data type variable.

    • Currency: -  This Data type is used to store for variable Currency. Need 64 bits or 8 bytes memory for Double Data type variable.

    • Boolean: - This Data type is used to take decision ‘True’ or ‘False’. Need 16 bits or 2 bytes memory for Boolean Datatype variable.

    • Date: -  This Data type is used to store for variable Date or Time. Need 64 bits or 8 bytes memory for Date Data type variable. Use ‘#’ sign before and after the date. Like as- #08/25/2016#.

    • Object: - This Data type is used to any object’s reference. Need 32 bits or 4 bytes memory for Object Data type variable.

    • String: -  This Data type is used to store for variable characters from 0 to 2 billion. Need varies memory for String Data type variable.

    • Variant: - This Data type is used to store for variable characters or numeric. Need varies memory for Variant Data type variable.

    DATA TYPE

    MEMORYRANGE OF VALUES

    Byte

    1 byte
    0 to 255

    Integer2 bytes
    -32,768 to 32, 767


    Long

    4 bytes
    -2147, 483,648 to 2147, 483, 648


    Single

    4 bytes
    For negative number-

     (-3.402823E+38 ) to (-1.401298E-45)

     For positive number-

    (1.401298E-45) to (3.402823E+38)


    Double

    8 bytes
    For negative number-

    (-1.79769313486232E+308 ) to (-4.94065645841247E-324)

     For positive number-

    (4.94065645841247E-324) to (1.79769313486232E+308)


    Currency

    8 bytes
    -922,337,203,685,477.5808 to 922,337,203,685,477.5807


    Boolean

    2 bytes
    True or False


    Date

    8 bytes
    1st January to 31st December, 100 to 9999


    Object

    4 bytes
    Any object’s reference


    String

    Varies
    0 to 2 billion

    VariantVaries
    Numeric or same as String data type

    COMMENTS

    Name

    Computer,8,MS Office,2,Visual Basic,8,
    ltr
    item
    Computercoursestudy: Visual Basic Program
    Visual Basic Program
    https://2.bp.blogspot.com/-E0ZoRnM7Wlc/WqDtXnzK3tI/AAAAAAAAAGo/GwSOTxotoIMj1OVA5KqCX0Xi9cDyCei7wCLcBGAs/s320/Visual%2BBasic%2BProgram.png
    https://2.bp.blogspot.com/-E0ZoRnM7Wlc/WqDtXnzK3tI/AAAAAAAAAGo/GwSOTxotoIMj1OVA5KqCX0Xi9cDyCei7wCLcBGAs/s72-c/Visual%2BBasic%2BProgram.png
    Computercoursestudy
    https://www.computercoursestudy.com/2016/09/visual-basic-program.html
    https://www.computercoursestudy.com/
    https://www.computercoursestudy.com/
    https://www.computercoursestudy.com/2016/09/visual-basic-program.html
    true
    3961810787506653407
    UTF-8
    Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy