Fund Prog Subject Outline

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Fund Prog Subject Outline as PDF for free.

More details

  • Words: 702
  • Pages: 6
Fundamentals of Programming (with Visual Basic 6)

Programming Basics Programming with Visual Basic What is Visual Basic? The VB program development cycle Using the Development Environment Using the menu bar and toolbar Using the Form window Supplying Controls with the toolbox Using the Properties window The Project Explorer window Placing forms with the Layout window Introduction to Programs Opening a sample project Running applications Viewing objects Naming objects Looking at Programs Event-driven programs Looking at code Control events Event procedures Properties and event procedures Creating Your First Application Generating an application Using the VB application wizard Looking at the generated program Creating controls Creating new applications Providing the interface with controls Setting properties Control properties Changing properties Creating a project from scratch

Creating a simple application Saving the new application Controls and Coding Labels, Text Boxes, and Buttons Creating labels Creating text boxes for user input Creating command buttons Setting form properties Coding Basics Controls and code Data types Literals and variables Storing and Calculating Data Assigning data to variables Matching variables and data types Assigning values to properties Using expressions and operators Using concatenation Coding the Details Built-in Functions A function preview A MsgBox( ) and InputBox( ) overview Message and Input Boxes Examining MsgBox( ) Examining InputBox( ) Remarks How remarks are used Two kinds of remarks Comparisons Comparison operators Using ASCII values Keeping data types consistent The IF Statement The If…Then statement The body of the If statement The If statement’s Else branch

Working with Comparisons Compound comparisons with logical operators Working with multiple conditions Multiple choice with Select Case Do Loops A brief introduction of Do Loops The Do While… loop The Do Until… loop The other Do loops Summarizing the loops The For Loop Introduction to For loops Examples of For loops Lists and More Controls Building and Interest Calculator Application Creating the form Focus and controls Adding controls Copying controls Creating the Rest of the Application Finishing the form Adding code The Unload statement Putting on the Finishing Touches Finishing touches Error checking Saving projects List and Combo Boxes The list box control Combo boxes Data Arrays Defining data arrays Array benefits Option Buttons Using option buttons Option button properties

Frames and option buttons Using named literals Check Boxes, Scroll Bars and Timers Check boxes Scroll bars VB’s clock: the timer control *Using Supplied Tools Calling Procedures Structured programming Calling procedures and returning from them Calling built-in functions Coding Subroutines and Functions Coding subroutines Coding functions Coding Arguments Working with arguments Receiving by reference and by value Passing arguments by reference: an example Built-In Functions Numeric functions String functions Date and time functions Data and Formatting Functions Data-testing functions Data conversion functions Formatting functions The Common Dialog Box What the common dialog box does Adding the common dialog box control Generating common dialog boxes Data Files and Printing (File handling) Managing Files File concepts Working with files Reading and Writing Data

Writing to files with Write # Reading files with Input # Using the EOF ( ) function Reading records with Line Input # Database Processing Introduction to database processing Introducing the data control Using a data control Creating a Database Application A simple but powerful application More about the data control Accessing the database file Building the application Printing from an Application Introducing printing Introducing the Printer object The Print method EndDoc and NewPage methods Preparing the user for printing Program Tuning Creating Menus Basic menu components The Menu editor Adding an application’s menu bar Adding pull-down menu options Filling in the Menus Adding checked items Adding submenus Connecting menus to event procedures Images and Pictures The image control The picture box control Creating an Animated Application Timer control Creating an animation Improving the animation Static variables

Toolbars Preparing for the toolbar The Image list control Finalizing the toolbar Line and Shape Control The line control The shape control Delivering the Program Debugging Kinds of errors The debugger Stepping through Code Setting breakpoints Using a breakpoint Working in break mode Stepping through code Debugging with the Watch and Immediate Windows Using the watch window Using the immediate window Installing Applications Compiling your applications Setting object properties Setting up your application Running setup Uninstalling the application

Related Documents

Fund Prog Subject Outline
November 2019 2
Prog
December 2019 62
Subject
June 2020 24
Subject
June 2020 25
Prog
November 2019 57
Subject
June 2020 22