logging in or signing up Visual Basic Lecture 1 joanaSalen Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: Embed: Flash iPad Copy Does not support media & animations WordPress Embed Customize Embed URL: Copy Thumbnail: Copy The presentation is successfully added In Your Favorites. Views: 1297 Category: Education License: Some Rights Reserved Like it (0) Dislike it (0) Added: December 15, 2011 This Presentation is Public Favorites: 1 Presentation Description Introduction to Visual Basic Comments Posting comment... Premium member Presentation Transcript What is Visual Basic?: What is Visual Basic?PowerPoint Presentation: VISUAL BASIC is a high level programming language which evolved from the earlier DOS version called BASIC.BASIC means:: BASIC means: B eginners ' A ll-purpose S ymbolic I nstruction C ode.PowerPoint Presentation: What is IDE?Integrated Development Environment (IDE): Integrated Development Environment (IDE) is a programming environment that has been packaged as an application program, typically consisting of a code editor , a compiler , a debugger , and a graphical user interface (GUI) builder.PowerPoint Presentation: Visual Basic 6.0 IDEThe Visual Basic Startup Dialog Box: The Visual B asic S tartup D ialog B oxMenu Bar: Menu Bar This Menu Bar displays the commands that are required to build an application. The toolbars in the menu bar provide quick access to the commonly used commands and a button in the toolbar is clicked once to carry out the action represented by it.PowerPoint Presentation: Toolbox that consists of all the controls essential for developing a VB Application. Controls are tools such as boxes, buttons, labels and other objects draw on a form to get input or display output . They also add visual appeal.Project Explorer: Project Explorer The Project Explorer as shown in in figure servres as a quick reference to the various elements of a project namely form , classes and modules . All of the object that make up the application are packed in a project.Properties Window: Properties Window The Properties Window exposes the various characteristics of selected objects. Each and every form in an application is considered an object. Now, each object in Visual Basic has characteristics such as color and size. Other characteristics affect not just the appearance of the object but the way it behaves too. All these characteristics of an object are called its properties.Form Layout: Form LayoutForm Window: Form WindowObject Browser: Object BrowserTypes of Visual Basic Data: Types of Visual Basic Data Numeric Data Non-numeric Data TypesNumeric Data: Numeric Data Type Storage Range Byte 1 byte 0 to 255 Integer 2 bytes -32,768 to 32,767 Long 4 bytes -2,147,483,648 to 2,147,483,648 Single 4 bytes -3.402823E+38 to -1.401298E-45 for negative values 1.401298E-45 to 3.402823E+38 for positive values. Double 8 bytes -1.79769313486232e+308 to -4.94065645841247E-324 for negative values 4.94065645841247E-324 to 1.79769313486232e+308 for positive values. Currency 8 bytes -922,337,203,685,477.5808 to 922,337,203,685,477.5807 Decimal 12 bytes +/- 79,228,162,514,264,337,593,543,950,335 if no decimal is use +/- 7.9228162514264337593543950335 (28 decimal places).Non-Numeric Data: Non-Numeric Data Type Storage Range String(fixed length) Length of string 1 to 65,400 characters String(variable length) Length + 10 bytes 0 to 2 billion characters Date 2 bytes January 1, 100 to December 31, 9999 Boolean 4 bytes True or False Object 4 bytes Any embedded object Variant(numeric) 16 bytes Any value as large as Double Variant(text) Length+22 bytes Same as variable-length stringOperators: OperatorsMathematical Operators: Mathematical Operators Operator Function Exampple ^ Exponential 2^4=16 * Multiplication 4*3=12 / Division 12/4=3 Mod Modulus (return the remainder from an integer division) 15 Mod 4=3 \ Integer Division (discards the decimal places) 19\4=4 Any embedded object + or & String concatenation Any value as large as DoubleConditional Operators: Conditional Operators Operator Meaning = Equal to > More than < Less than >= More than or equal to <== Less than or equal to <> Not equal toLogical Operators: Logical Operators Operator Meaning And Both sides must be true Or One side must be true Xor One side or other must be true but not both Not Neglects the truthVariable Declaration: Variable DeclarationVariable Declaration: Variable Declaration They are normally declared in the genaral section of the codes' windows using the Dim statement. The format is as follows: Dim variableNmae as DataType You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.