1 / 10

Visual Basic Project 1

Visual Basic Project 1. IDS 306 Spring 1999 V. Murphy. User Interfaces & Applications. User Interface -- way in which you give instructions to a computer and receive feedback Graphical User Interface (GUI) -- allows use of both text and graphical images

wolfe
Download Presentation

Visual Basic Project 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Visual BasicProject 1 IDS 306 Spring 1999 V. Murphy

  2. User Interfaces & Applications • User Interface -- way in which you give instructions to a computer and receive feedback • Graphical User Interface (GUI) -- allows use of both text and graphical images • Application software -- computer programs that perform a specific function

  3. Control Creation Edition • available for download from • http://msdn.microsoft.com/vbasic/downloads/cce/default.asp • http://www.download.com • can not make .exe files • Stand-alone application -- a.k.a. an EXE, runs independently of the VB system • should contain all the features you will need for this class

  4. Development Environment • Integrated Development Environment (IDE) • Single document interface (SDI) -- independent windows on the desktop • Multiple document interface (MDI) -- windows within windows; contained within single parent window

  5. Design Time vs. Run Time • Design time -- time during which you build an application • Run time -- time during which you use an application for its intended purpose • Title bar will say [design] during design time and [run] during run time

  6. Projects and Forms • Project (.vbp) • starts with a form • may contain several forms • Form (.frm) • becomes the application window during run time

  7. 3 Steps in Creating Applications 1. Create the Interface 2. Set the Properties 3. Write the Code

  8. Writing Code • Events -- messages sent to an object when the application runs • can be initiated by user or by application • trigger procedures • Procedures -- groups of code statements • Code Statements -- instructions to computer, written at design time, execute at run time • Event procedures in VB written in blocks of code called subroutines

  9. Function, Methods & Comments • Function -- code that transforms one or more values into a new value • Val function -- takes whatever value is given and converts it to a number • Methods -- code statements that can be applied to an object to change its attributes or behavior • SetFocus method -- causes focus to be changed to a specific control on a form • Comment -- explanatory text within a procedure • begins with an apostrophe (‘) or keyword Rem

  10. Tables & Figuresexcluded from this version • Figure 1-1 page 1.5 • Figure 1-25 page 1.16 • Figure 1-46 page 1.25 • Figure 1-63 page 1.34 • Figure 1-83 page 1.44 • Figure 1-88 page 1.46

More Related