CIST 304. Week 7: Chapters 15 & 16 VB with other applications and MS Access

Size: px
Start display at page:

Download "CIST 304. Week 7: Chapters 15 & 16 VB with other applications and MS Access"

Transcription

1 CIST 304 Week 7: Chapters 15 & 16 VB with other applications and MS Access

2 Visual Basic Interoperability VB can be used across applications VB interoperability with other MS Office applications (Word, Access, PowerPoint, etc) VB interoperability with third party applications VB can launch applications exchange data between applications modify the file system reach out across the network (including the Internet) Ch 15

3 Launching Applications Shell Allows you to start an application using VB Ex: Shell calc.exe, vbmaximizedfocus Complete path needed (unless the file s directory location is already in the $PATH variable Note the Windows styles in Table 15.1 (hidden, max, etc) What applications can we launch? Calculator Notepad Control Panel pretty much any Ch 15

4 Try This: Hands-on 15.1 Complete the Hands-On 15.1 exercise Try changing the cpl files Which cpl file gets us directly to the window that lets us change the user display? Do an Internet search for dll or cpl files that are not listed in Table 15.2 and try using those in the shell command. Ch 15

5 Moving Between Applications AppActivate Changes the focus (i.e. allows you to move between applications that are already open) Table 15.3 shows MS Office app constants The [wait] argument is optional. If [wait] is set to False, there is no delay. Note: the title is enclosed in quotes and must exactly match the name of the running application Ch 15

6 Controlling Another Application AppActivate works if the other application is already running SendKeys Sends keystrokes to an open application Syntax: SendKeys string [,wait] string is the set of keystrokes you want to send to the open application [wait] is optional (similar to AppActivate option) Table 15.4 lists some of the keycodes Reserved characters must be enclosed in braces {} Ch 15

7 Controlling Applications - Automation Automation provides functionality to access the object model of other applications Concept is similar to accessing the object model in Excel Access the properties and methods of the application s objects Automation replaces Dynamic Data Exchange (DDE). Ch 15

8 Automation / Object Linking and Embedding (OLE) OLE allows you to create compound documents (p420) Compound documents are composed of objects from different applications Word document with Excel table PowerPoint document with Excel table Word document with PowerPoint slide etc Linked vs. Embedding When a linked object is changed the object as it is contained in other objects will change Embedding simply inserts the object without creating a linking (i.e. if the original changes, the embedded object will not) Ch 15

9 Component Object Model (COM) Provides Automation interfaces Includes all the object properties and methods VB can directly access the object s interfaces using COM Ch 15

10 Binding Binding is the process by which VB associates the code with the object Late vs. Early binding Late: aka runtime binding VB waits until the procedure is executed before it associates with the object Pros: Can be used with all Automation objects Cons: Programmer must manually define the association Early: aka compile-time binding VB makes the association when the program is compiled Ch 15

11 References Tools->References allow us to add object references (part of establishing the early binding) Object Browser will reflect the addition of the added reference Ch 15

12 Creating Automation Objects CreateObject Function GetObject Function Ch 15

13 Excel, VB, and MS Access (oh, boy ) Concepts from previous section are still applicable MS Access application interoperability and object access is nuanced because you are accessing a database. Special methods for accessing a database: Automation (as before) Data Access Objects (DAO) ActiveX Data Objects (ADO) Ch 16

14 What is a database? A set of tables with defined relationships Each table is similar to an Excel spreadsheet Rows = records Columns = fields Each record needs a primary key (a unique identifier for that record) Tables can be linked through common fields (relationship) EmpID Name Dept Hired Jones 11 9/1/ Jones 42 3/6/2012 EmpID Salary $22, $31,000 Dept Manager 11 Smith 42 Willis Ch 16

15 MS Access Object Library Like everything else MS Access uses objects Objects are contained in the MS Access library msacc.olb file Database objects provide ways to connect to the database provide ways to manipulate the database structure provide ways to add, update, modify, delete database entries Need to setup a reference to the Access Library Ch 16

16 Establishing a connection to the database from Excel Database not secured (no password) you can use Automation (see book) Database secured with a password DAO method Setup a reference Define the connection string Use object methods to connect ADO method Setup a reference Define the connection string Use object methods to connect Ch 16

17 Creating a new Access database using DAO Functions CreateDatabase: creates the database CreateTableDef: creates a table within the database CreateField: creates a field within the table Methods Append: appends fields and tables to the object Close: closes the database Ch 16

18 Hands-On 16.5 Code Breakdown: Declaring Objects Dim db as DAO.Database Dim tbl as DAO.TableDef Dim strdb as String Dim strtbl as String DAO TableDef strdb tbl Database sttbl db Ch 16

19 Hands-On 16.5 Code Breakdown: Building Table strtbl = tblstates Set db = CreateDatabase(strDb, dblanggeneral) Set tbl = db.createtabledef(strtbl) With tbl.fields.append.createfield( StateID, dbtext, 2).Fields.Append.CreateField( StateName, dbtext, 25).Fields.Append.CreateField( StateCapital, dbtext, 25) End With tblstates StateId StateName StateCapital Ch 16

20 Hands-On 16.5 Code Breakdown: Appending Tables to DB db.tabledefs.append tbl db tbl StateId StateName StateCapital Ch 16

21 Creating a Database - Try This Use Visual Basic to create a database called UMW Students Create the table structure (definition) below and append it to the database StudentId LastName Major Year Ch 16

22 In-Class Assignments Hands-On Ch 16

END-TERM EXAMINATION

END-TERM EXAMINATION (Please Write your Exam Roll No. immediately) END-TERM EXAMINATION DECEMBER 2006 Exam. Roll No... Exam Series code: 100274DEC06200274 Paper Code : MCA-207 Subject: Front End Design Tools Time: 3 Hours

More information

What's New in Access 2000 p. 1 A Brief Access History p. 2 Access the Best Access Ever p. 5 Microsoft Office Developer Features p.

What's New in Access 2000 p. 1 A Brief Access History p. 2 Access the Best Access Ever p. 5 Microsoft Office Developer Features p. Foreword p. xxxiii About the Authors p. xxxvi Introduction p. xxxviii What's New in Access 2000 p. 1 A Brief Access History p. 2 Access 2000--the Best Access Ever p. 5 Microsoft Office Developer Features

More information

KEYWORDS DDE GETOBJECT PATHNAME CLASS VB EDITOR WITHEVENTS HMI 1.0 TYPE LIBRARY HMI.TAG

KEYWORDS DDE GETOBJECT PATHNAME CLASS VB EDITOR WITHEVENTS HMI 1.0 TYPE LIBRARY HMI.TAG Document Number: IX_APP00113 File Name: SpreadsheetLinking.doc Date: January 22, 2003 Product: InteractX Designer Application Note Associated Project: GetObjectDemo KEYWORDS DDE GETOBJECT PATHNAME CLASS

More information

Script Host 2.0 Developer's Guide

Script Host 2.0 Developer's Guide _ Microsoft icrosoft Script Host 2.0 Developer's Guide Günter Born Introduction xv parti Introduction to the World of Script Programming chapter i Introduction to Windows Script Host 3 WHAT YOU CAN DO

More information

The name of this type library is LabelManager2 with the TK Labeling Interface reference.

The name of this type library is LabelManager2 with the TK Labeling Interface reference. Page 1 of 10 What is an ActiveX object? ActiveX objects support the COM (Component Object Model) - Microsoft technology. An ActiveX component is an application or library that is able to create one or

More information

Part I: Programming Access Applications. Chapter 1: Overview of Programming for Access. Chapter 2: Extending Applications Using the Windows API

Part I: Programming Access Applications. Chapter 1: Overview of Programming for Access. Chapter 2: Extending Applications Using the Windows API 74029c01.qxd:WroxPro 9/27/07 1:43 PM Page 1 Part I: Programming Access Applications Chapter 1: Overview of Programming for Access Chapter 2: Extending Applications Using the Windows API Chapter 3: Programming

More information

Interacting with External Applications

Interacting with External Applications Interacting with External Applications DLLs - dynamic linked libraries: Libraries of compiled procedures/functions that applications link to at run time DLL can be updated independently of apps using them

More information

Visual Programming 1. What is Visual Basic? 2. What are different Editions available in VB? 3. List the various features of VB

Visual Programming 1. What is Visual Basic? 2. What are different Editions available in VB? 3. List the various features of VB Visual Programming 1. What is Visual Basic? Visual Basic is a powerful application development toolkit developed by John Kemeny and Thomas Kurtz. It is a Microsoft Windows Programming language. Visual

More information

User-defined Functions. Conditional Expressions in Scheme

User-defined Functions. Conditional Expressions in Scheme User-defined Functions The list (lambda (args (body s to a function with (args as its argument list and (body as the function body. No quotes are needed for (args or (body. (lambda (x (+ x 1 s to the increment

More information

Acknowledgments Introduction. Part I: Programming Access Applications 1. Chapter 1: Overview of Programming for Access 3

Acknowledgments Introduction. Part I: Programming Access Applications 1. Chapter 1: Overview of Programming for Access 3 74029ftoc.qxd:WroxPro 9/27/07 1:40 PM Page xiii Acknowledgments Introduction x xxv Part I: Programming Access Applications 1 Chapter 1: Overview of Programming for Access 3 Writing Code for Access 3 The

More information

Argumentative Development Notes

Argumentative Development Notes Argumentative Development Notes Version 0.5 October 2007 17/10/2007 i Contents 1 Introduction... 3 2 Environments... 3 2.1 Microsoft Visual Studio... 3 2.2 #Develop... 3 3 Source Code... 3 4 Build... 4

More information

Sub Programs. To Solve a Problem, First Make It Simpler

Sub Programs. To Solve a Problem, First Make It Simpler Sub Programs To Solve a Problem, First Make It Simpler Top Down Design Top Down Design Start with overall goal. Break Goal into Sub Goals Break Sub Goals into Sub Sub Goals Until the Sub-Sub Sub-Sub Sub-Sub

More information

In this chapter, I m going to show you how to create a working

In this chapter, I m going to show you how to create a working Codeless Database Programming In this chapter, I m going to show you how to create a working Visual Basic database program without writing a single line of code. I ll use the ADO Data Control and some

More information

BASIC EXCEL SYLLABUS Section 1: Getting Started Section 2: Working with Worksheet Section 3: Administration Section 4: Data Handling & Manipulation

BASIC EXCEL SYLLABUS Section 1: Getting Started Section 2: Working with Worksheet Section 3: Administration Section 4: Data Handling & Manipulation BASIC EXCEL SYLLABUS Section 1: Getting Started Unit 1.1 - Excel Introduction Unit 1.2 - The Excel Interface Unit 1.3 - Basic Navigation and Entering Data Unit 1.4 - Shortcut Keys Section 2: Working with

More information

Microsoft Excel 2013 Unit 1: Spreadsheet Basics & Navigation Student Packet

Microsoft Excel 2013 Unit 1: Spreadsheet Basics & Navigation Student Packet Microsoft Excel 2013 Unit 1: Spreadsheet Basics & Navigation Student Packet Signing your name below means the work you are turning in is your own work and you haven t given your work to anyone else. Name

More information

Ms Dos Commands List With Examples Ppt

Ms Dos Commands List With Examples Ppt Ms Dos Commands List With Examples Ppt MS-DOS Prompt The prompt in MS-DOS displays your current directory Example: copy a:/*.txt c:/ will copy all text files to drive c:/ Example 2: copy files in the current

More information

Code No. 90 Please check that this question paper contains 6 printed pages. Code number given on the right hand side of the question paper should be written on the title page of the answer-book by the

More information

9. Introduction to MS Access

9. Introduction to MS Access 9. Introduction to MS Access 9.1 What is MS Access? Essentially, MS Access is a database management system (DBMS). Like other products in this category, Access: o Stores and retrieves data, o Presents

More information

AD07 A Tool to Automate TFL Bundling

AD07 A Tool to Automate TFL Bundling AD07 A Tool to Automate TFL Bundling Mark Crangle ICON Clinical Research Introduction Typically, requirement for a TFL package is a bookmarked PDF file with a table of contents Often this means combining

More information

catman ActiveX interface Jens Boersch

catman ActiveX interface Jens Boersch catman ActiveX interface Jens Boersch jens.boersch@hbm.com www.hbm.com ActiveX technology - introduction Where the name ActiveX comes from ActiveX is a marketing name for a technology based on COM (Component

More information

Acknowledgments Introduction. Chapter 1: Introduction to Access 2007 VBA 1. The Visual Basic Editor 18. Testing Phase 24

Acknowledgments Introduction. Chapter 1: Introduction to Access 2007 VBA 1. The Visual Basic Editor 18. Testing Phase 24 Acknowledgments Introduction Chapter 1: Introduction to Access 2007 VBA 1 What Is Access 2007 VBA? 1 What s New in Access 2007 VBA? 2 Access 2007 VBA Programming 101 3 Requirements-Gathering Phase 3 Design

More information

An Introduction to Windows Script Components

An Introduction to Windows Script Components An Introduction to Windows Script Components Windows Script Components (WSC) provide with a simple and easy way to create COM components. You can use scripting languages such as JScript, VBScript, PERLScript,

More information

Visual Basic 6 (VB6 Comprehensive) Course Overview

Visual Basic 6 (VB6 Comprehensive) Course Overview Visual Basic 6 (VB6 Comprehensive) Course Overview Course Code: VB60010 Duration: 5 Days - custom / on-site options available - please call. Who should attend: Prerequisite Skills: IT professionals who

More information

Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet

Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet 1. Macros 1.1 What is a macro? A macro is a set of one or more actions

More information

Programming with Arrays Intro to Pointers CS 16: Solving Problems with Computers I Lecture #11

Programming with Arrays Intro to Pointers CS 16: Solving Problems with Computers I Lecture #11 Programming with Arrays Intro to Pointers CS 16: Solving Problems with Computers I Lecture #11 Ziad Matni Dept. of Computer Science, UCSB Thursday, 5/17 in this classroom Starts at 2:00 PM **SHARP** Please

More information

APCS Semester #1 Final Exam Practice Problems

APCS Semester #1 Final Exam Practice Problems Name: Date: Per: AP Computer Science, Mr. Ferraro APCS Semester #1 Final Exam Practice Problems The problems here are to get you thinking about topics we ve visited thus far in preparation for the semester

More information

Prentice Hall CBT Systems X In A Box IT Courses

Prentice Hall CBT Systems X In A Box IT Courses Prentice Hall CBT Systems X In A Box IT Courses We make it click Visual Basic 5 In A Box Gary Cornell and Dave Jezak Prentice Hall PTR Upper Saddle River, NJ 07458 http://www.phptr.com Part of the Prentice

More information

CERTIFICATE IN WEB PROGRAMMING

CERTIFICATE IN WEB PROGRAMMING COURSE DURATION: 6 MONTHS CONTENTS : CERTIFICATE IN WEB PROGRAMMING 1. PROGRAMMING IN C and C++ Language 2. HTML/CSS and JavaScript 3. PHP and MySQL 4. Project on Development of Web Application 1. PROGRAMMING

More information

Styles and Conditional Features. Version: 7.3

Styles and Conditional Features. Version: 7.3 Styles and Conditional Features Version: 7.3 Copyright 2015 Intellicus Technologies This document and its content is copyrighted material of Intellicus Technologies. The content may not be copied or derived

More information

LUSAS Programmable Interface (LPI) Customisation and Automation Guide. LUSAS Version 15.2 : Issue 1

LUSAS Programmable Interface (LPI) Customisation and Automation Guide. LUSAS Version 15.2 : Issue 1 LUSAS Programmable Interface (LPI) Customisation and Automation Guide LUSAS Version 15.2 : Issue 1 LUSAS Forge House, 66 High Street, Kingston upon Thames, Surrey, KT1 1HN, United Kingdom Tel: +44 (0)20

More information

Basic Programming Language Syntax

Basic Programming Language Syntax Java Created in 1990 by Sun Microsystems. Free compiler from Sun, commercial from many vendors. We use free (Sun) Java on UNIX. Compiling and Interpreting...are processes of translating a high-level programming

More information

Copyright. Trademarks Attachmate Corporation. All rights reserved. USA Patents Pending. WRQ ReflectionVisual Basic User Guide

Copyright. Trademarks Attachmate Corporation. All rights reserved. USA Patents Pending. WRQ ReflectionVisual Basic User Guide PROGRAMMING WITH REFLECTION: VISUAL BASIC USER GUIDE WINDOWS XP WINDOWS 2000 WINDOWS SERVER 2003 WINDOWS 2000 SERVER WINDOWS TERMINAL SERVER CITRIX METAFRAME CITRIX METRAFRAME XP ENGLISH Copyright 1994-2006

More information

INDEX. Note: boldface numbers indicate illustrations; italic t indicates a table. 345

INDEX. Note: boldface numbers indicate illustrations; italic t indicates a table. 345 INDEX A Access, 147-244 Action queries in, 160, 187 add a record in, 158-159 add data to database in, 151, 151 Advanced Wizards for queries in, 240 AS/400 performance vs. queries, 190 built-in functions

More information

How to Access Your Student and Use Other Features from Google. Fall 2017 Michelle Lowe

How to Access Your Student  and Use Other Features from Google. Fall 2017 Michelle Lowe How to Access Your Student Email and Use Other Features from Google USERNAME@K12.SMCPS.ORG Fall 2017 Michelle Lowe To go to a specific part in this slideshow, click the topic below: Accessing your Student

More information

IMIR Reporting Services

IMIR Reporting Services 1 IMIR Reporting Services A guide to use reporting services application at IMIR Patki, Amol M. 9/1/2011 Introduction What is Microsoft Reporting Services SQL Server Reporting Services is a comprehensive,

More information

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 05 I/O statements Printf, Scanf Simple

More information

COURSE CONTENT Excel with VBA Training

COURSE CONTENT Excel with VBA Training COURSE CONTENT Excel with VBA Training MS Excel - Advance 1. Excel Quick Overview Use of Excel, its boundaries & features 2. Data Formatting & Custom setting Number, Text, Date, Currency, Custom settings.

More information

Tech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson

Tech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson Tech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson Introduction Among the many new features of PATROL version 3.3, is support for Microsoft s Component Object Model (COM).

More information

Styles and Conditional Features

Styles and Conditional Features Styles and Conditional Features Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Copyright 2010 Intellicus Technologies This document and its

More information

SelectSurveyASP Advanced User Manual

SelectSurveyASP Advanced User Manual SelectSurveyASP Advanced User Manual Creating Surveys 2 Designing Surveys 2 Templates 3 Libraries 4 Item Types 4 Scored Surveys 5 Page Conditions 5 Piping Answers 6 Previewing Surveys 7 Managing Surveys

More information

Google Docs. University Of Furtwangen, E-Business Technology. Prof. Dr. Eduard Heindl. By: Xia Cuihua

Google Docs. University Of Furtwangen, E-Business Technology. Prof. Dr. Eduard Heindl. By: Xia Cuihua Google Docs University Of Furtwangen, E-Business Technology Prof. Dr. Eduard Heindl By: Xia Cuihua May.2009 1 Declaration: I, Xia cuihua, hereby declare that this paper is my own work and all the related

More information

A Back-End Link Checker for Your Access Database

A Back-End Link Checker for Your Access Database A Back-End for Your Access Database Published: 30 September 2018 Author: Martin Green Screenshots: Access 2016, Windows 10 For Access Versions: 2007, 2010, 2013, 2016 Working with Split Databases When

More information

Scheme: Expressions & Procedures

Scheme: Expressions & Procedures Scheme: Expressions & Procedures CS F331 Programming Languages CSCE A331 Programming Language Concepts Lecture Slides Friday, March 31, 2017 Glenn G. Chappell Department of Computer Science University

More information

A A B U n i v e r s i t y

A A B U n i v e r s i t y A A B U n i v e r s i t y Faculty of Computer Sciences O b j e c t O r i e n t e d P r o g r a m m i n g Week 4: Introduction to Classes and Objects Asst. Prof. Dr. M entor Hamiti mentor.hamiti@universitetiaab.com

More information

Limnor Studio Getting Started

Limnor Studio Getting Started Limnor Studio Getting Started Longflow Enterprises Ltd. Tuesday, October 20, 2009 Contact: info@limnor.com 1 Introduction... 1 1.1 Limnor Studio... 1 1.2 Limnor Codeless Visual Programming... 3 2 Installation...

More information

Pre Lab (Lab-1) Scrutinize Different Computer Components

Pre Lab (Lab-1) Scrutinize Different Computer Components Pre Lab (Lab-1) Scrutinize Different Computer Components Central Processing Unit (CPU) All computer programs have functions, purposes, and goals. For example, spreadsheet software helps users store data

More information

Highlighting Intrinsyc s Technologies: Intrinsyc J-Integra Bi-Directional Pure Java-COM Bridge

Highlighting Intrinsyc s Technologies: Intrinsyc J-Integra Bi-Directional Pure Java-COM Bridge WhitePaper Highlighting Intrinsyc s Technologies: Intrinsyc J-Integra Bi-Directional Pure Java-COM Bridge Intrinsyc Software, Inc. 700 West Pender Street, 10 th Floor Vancouver, British Columbia Canada

More information

Visual Basic Primer A. A. Cousins

Visual Basic Primer A. A. Cousins Hard Wiring The first research computers of the late 1940s were programmed by hard wiring. Cables were plugged and unplugged into huge patch boards to physically alter the electrical circuitry. To program

More information

8. Control statements

8. Control statements 8. Control statements A simple C++ statement is each of the individual instructions of a program, like the variable declarations and expressions seen in previous sections. They always end with a semicolon

More information

Computer Science II Lecture 1 Introduction and Background

Computer Science II Lecture 1 Introduction and Background Computer Science II Lecture 1 Introduction and Background Discussion of Syllabus Instructor, TAs, office hours Course web site, http://www.cs.rpi.edu/courses/fall04/cs2, will be up soon Course emphasis,

More information

To reduce confusion over the word application, the following table defines the terms used in this technical article.

To reduce confusion over the word application, the following table defines the terms used in this technical article. Page 1 of 12 Office Development (General) Technical xarticles Corporate Developer's Guide to Office 95 API Issues Ken Lassesen Microsoft Developer Network Technology Group April 28, 1995 Abstract This

More information

Taking Advantage of ADSI

Taking Advantage of ADSI Taking Advantage of ADSI Active Directory Service Interfaces (ADSI), is a COM-based set of interfaces that allow you to interact and manipulate directory service interfaces. OK, now in English that means

More information

Overloading Functions & Command Line Use in C++ CS 16: Solving Problems with Computers I Lecture #6

Overloading Functions & Command Line Use in C++ CS 16: Solving Problems with Computers I Lecture #6 Overloading Functions & Command Line Use in C++ CS 16: Solving Problems with Computers I Lecture #6 Ziad Matni Dept. of Computer Science, UCSB A reminder about Labs Announcements Please make sure you READ

More information

4 Working with WSH objects

4 Working with WSH objects 4 Working with WSH objects In the preceding chapter I have discussed a few basics of script programming. We have also used a few objects, methods and properties. In this chapter I would like to extend

More information

QUIZ. How could we disable the automatic creation of copyconstructors

QUIZ. How could we disable the automatic creation of copyconstructors QUIZ How could we disable the automatic creation of copyconstructors pre-c++11? What syntax feature did C++11 introduce to make the disabling clearer and more permanent? Give a code example. QUIZ How

More information

Pace University. Fundamental Concepts of CS121 1

Pace University. Fundamental Concepts of CS121 1 Pace University Fundamental Concepts of CS121 1 Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University October 12, 2005 This document complements my tutorial Introduction

More information

Object oriented programming. Instructor: Masoud Asghari Web page: Ch: 3

Object oriented programming. Instructor: Masoud Asghari Web page:   Ch: 3 Object oriented programming Instructor: Masoud Asghari Web page: http://www.masses.ir/lectures/oops2017sut Ch: 3 1 In this slide We follow: https://docs.oracle.com/javase/tutorial/index.html Trail: Learning

More information

Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P.

Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P. Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P. Russo Active Server Pages Active Server Pages are Microsoft s newest server-based technology for building dynamic and interactive

More information

SAP Automation (BC-FES-AIT)

SAP Automation (BC-FES-AIT) HELP.BCFESRFC Release 4.6C SAP AG Copyright Copyright 2001 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission

More information

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith Previously We started to build a GUI program using visual studio 2010 and vb.net. We have a form designed. We have started to write the code to provided the

More information

UEE1302 (1102) F10: Introduction to Computers and Programming

UEE1302 (1102) F10: Introduction to Computers and Programming Computational Intelligence on Automation Lab @ NCTU Learning Objectives UEE1302 (1102) F10: Introduction to Computers and Programming Programming Lecture 00 Programming by Example Introduction to C++ Origins,

More information

Introduction to Visual Basic and Visual C++ Arithmetic Expression. Arithmetic Expression. Using Arithmetic Expression. Lesson 4.

Introduction to Visual Basic and Visual C++ Arithmetic Expression. Arithmetic Expression. Using Arithmetic Expression. Lesson 4. Introduction to Visual Basic and Visual C++ Arithmetic Expression Lesson 4 Calculation I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Arithmetic Expression Using Arithmetic Expression Calculations

More information

QUIZ. How could we disable the automatic creation of copyconstructors

QUIZ. How could we disable the automatic creation of copyconstructors QUIZ How could we disable the automatic creation of copyconstructors pre-c++11? What syntax feature did C++11 introduce to make the disabling clearer and more permanent? Give a code example. Ch. 14: Inheritance

More information

A Small Interpreted Language

A Small Interpreted Language A Small Interpreted Language What would you need to build a small computing language based on mathematical principles? The language should be simple, Turing equivalent (i.e.: it can compute anything that

More information

Computer Science 21b (Spring Term, 2015) Structure and Interpretation of Computer Programs. Lexical addressing

Computer Science 21b (Spring Term, 2015) Structure and Interpretation of Computer Programs. Lexical addressing Computer Science 21b (Spring Term, 2015) Structure and Interpretation of Computer Programs Lexical addressing The difference between a interpreter and a compiler is really two points on a spectrum of possible

More information

Workshare Professional 10. Getting Started Guide

Workshare Professional 10. Getting Started Guide Workshare Professional 10 Getting Started Guide Introducing Workshare Professional 10 Workshare is dedicated to helping professionals compare, protect and share their documents. New features Compare Excel

More information

1 Introduction Java, the beginning Java Virtual Machine A First Program BlueJ Raspberry Pi...

1 Introduction Java, the beginning Java Virtual Machine A First Program BlueJ Raspberry Pi... Contents 1 Introduction 3 1.1 Java, the beginning.......................... 3 1.2 Java Virtual Machine........................ 4 1.3 A First Program........................... 4 1.4 BlueJ.................................

More information

JAVA An overview for C++ programmers

JAVA An overview for C++ programmers JAVA An overview for C++ programmers Wagner Truppel wagner@cs.ucr.edu edu March 1st, 2004 The early history James Gosling, Sun Microsystems Not the usual start for a prog.. language Consumer electronics,

More information

CS 320: Concepts of Programming Languages

CS 320: Concepts of Programming Languages CS 320: Concepts of Programming Languages Wayne Snyder Computer Science Department Boston University Lecture 03: Bare-Bones Haskell Continued: o Function Application = Rewriting by Pattern Matching o Haskell

More information

Shell Start-up and Configuration Files

Shell Start-up and Configuration Files ULI101 Week 10 Lesson Overview Shell Start-up and Configuration Files Shell History Alias Statement Shell Variables Introduction to Shell Scripting Positional Parameters echo and read Commands if and test

More information

Center for Faculty Development and Support. Google Docs Tutorial

Center for Faculty Development and Support. Google Docs Tutorial Center for Faculty Development and Support Google Docs Tutorial Table of Contents Overview... 3 Learning Objectives... 3 Access Google Drive... 3 Introduction... 4 Create a Google Document... 4 Upload

More information

Password Protect an Access Database

Password Protect an Access Database Access a Password Protected Microsoft Access Database from within Visual Basic 6 Have you ever wanted to password protect an Access Database that is a Data Store (a repository of Data) used in one of your

More information

CIS192: Python Programming

CIS192: Python Programming CIS192: Python Programming Introduction Harry Smith University of Pennsylvania January 18, 2017 Harry Smith (University of Pennsylvania) CIS 192 Lecture 1 January 18, 2017 1 / 34 Outline 1 Logistics Rooms

More information

CS637 Midterm Review

CS637 Midterm Review CS637 Midterm Review Coverage: Duckett Chapter 1-2: Basics: Can skip pp. 53-56 Chapter 3: Lists: all important Chapter 4:Links: all important Chapter 5:Images: can skip old code Chapter 6: Tables: all

More information

I Didn't Know DB2 Did THAT! V9 & V10 Update CENTRAL CANADA DB2 USER GROUP

I Didn't Know DB2 Did THAT! V9 & V10 Update CENTRAL CANADA DB2 USER GROUP I Didn't Know DB2 Did THAT! V9 & V10 Update CENTRAL CANADA DB2 USER GROUP Bonnie K. Baker Bonnie Baker Corporation 1-813-477-4885 bkbaker@bonniebaker.com www.bonniebaker.com INTERNAL MYSTERIES SOLVED 2

More information

Plan (next 4 weeks) 1. Fast forward. 2. Rewind. 3. Slow motion. Rapid introduction to what s in OCaml. Go over the pieces individually

Plan (next 4 weeks) 1. Fast forward. 2. Rewind. 3. Slow motion. Rapid introduction to what s in OCaml. Go over the pieces individually Plan (next 4 weeks) 1. Fast forward Rapid introduction to what s in OCaml 2. Rewind 3. Slow motion Go over the pieces individually History, Variants Meta Language Designed by Robin Milner @ Edinburgh Language

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introducing Visual Basic 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects

More information

EL2310 Scientific Programming

EL2310 Scientific Programming Lecture 7: Introduction to C (pronobis@kth.se) Overview Overview Lecture 7: Introduction to C Wrap Up Basic Datatypes and printf Branching and Loops in C Constant values Wrap Up Lecture 7: Introduction

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introduction 8 Installing Visual Basic 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects 20 Reopening

More information

6.184 Lecture 4. Interpretation. Tweaked by Ben Vandiver Compiled by Mike Phillips Original material by Eric Grimson

6.184 Lecture 4. Interpretation. Tweaked by Ben Vandiver Compiled by Mike Phillips Original material by Eric Grimson 6.184 Lecture 4 Interpretation Tweaked by Ben Vandiver Compiled by Mike Phillips Original material by Eric Grimson 1 Interpretation Parts of an interpreter Arithmetic calculator

More information

INF 102 CONCEPTS OF PROG. LANGS FUNCTIONAL COMPOSITION. Instructors: James Jones Copyright Instructors.

INF 102 CONCEPTS OF PROG. LANGS FUNCTIONAL COMPOSITION. Instructors: James Jones Copyright Instructors. INF 102 CONCEPTS OF PROG. LANGS FUNCTIONAL COMPOSITION Instructors: James Jones Copyright Instructors. Topics Recursion Higher-order functions Continuation-Passing Style Monads (take 1) Identity Monad

More information

Millennium Report Writer

Millennium Report Writer Millennium Report Writer The report writer can be used for most of your reporting needs, including employee and personnel listings. You also can access current, MTD, QTD, and YTD values for any earning,

More information

Manual Vba Access 2007 Recordset Find

Manual Vba Access 2007 Recordset Find Manual Vba Access 2007 Recordset Find Total Visual CodeTools manual Supports Office/Access 2010, 2007, 2003, 2002, 2000, and Visual Basic 6.0! Create, Maintain, and Deliver better Microsoft Access, Office,

More information

Manual Vba Access 2010 Recordset Find

Manual Vba Access 2010 Recordset Find Manual Vba Access 2010 Recordset Find Microsoft Access VBA Programming - ADO Recordsets for The Beginners Part 2 Demo. The Recordset property returns the recordset object that provides the data being browsed

More information

Access VBA LinkedIn Introduces object oriented programming and provides a foundation in the Access object model and the Visual Basic for Applications

Access VBA LinkedIn Introduces object oriented programming and provides a foundation in the Access object model and the Visual Basic for Applications Access VBA LinkedIn Introduces object oriented programming and provides a foundation in the Access object model and the Visual Basic for Applications VBA programming language. Excel Power Programming with

More information

Visual Basic 6 includes many tools to help you create, revise, manage, and

Visual Basic 6 includes many tools to help you create, revise, manage, and 0625-0 Ch01.F 7/10/03 9:19 AM Page 11 Chapter 1 The Big Picture: Visual Basic s Database Features In This Chapter Sampling Visual Basic s most important database features Connecting an application to a

More information

Appendix C WORKSHOP. SYS-ED/ Computer Education Techniques, Inc.

Appendix C WORKSHOP. SYS-ED/ Computer Education Techniques, Inc. Appendix C WORKSHOP SYS-ED/ Computer Education Techniques, Inc. 1 Preliminary Assessment Specify key components of WSAD. Questions 1. tools are used for reorganizing Java classes. 2. tools are used to

More information

The DCOM Connector HELP.BCMIDDCOM. Release 4.6C

The DCOM Connector HELP.BCMIDDCOM. Release 4.6C HELP.BCMIDDCOM Release 4.6C SAP AG Copyright Copyright 2001 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express

More information

Introduction to Programming

Introduction to Programming Introduction to Programming Course ISI-1329 - Three Days - Instructor-Led Introduction This three-day, instructor-led course introduces students to computer programming. Students will learn the fundamental

More information

Introduction to MySQL. Database Systems

Introduction to MySQL. Database Systems Introduction to MySQL Database Systems 1 Agenda Bureaucracy Database architecture overview Buzzwords SSH Tunneling Intro to MySQL Comments on homework 2 Homework #1 Submission date is on the website..

More information

EXERCISE: Introduction to client side JavaScript

EXERCISE: Introduction to client side JavaScript EXERCISE: Introduction to client side JavaScript Barend Köbben Version 1.3 March 23, 2015 Contents 1 Dynamic HTML and scripting 3 2 The scripting language JavaScript 3 3 Using Javascript in a web page

More information

Once you have entered your Google and password, you can click the Sign In button to continue.

Once you have entered your Google  and password, you can click the Sign In button to continue. Slide 1 Welcome to the Creating and Uploading with Google Docs Tutorial. Google Docs allows you to create documents, spreadsheets, presentations, draw pictures, create forms, and much more directly within

More information

QUETZALANDIA.COM. 5. Data Manipulation Language

QUETZALANDIA.COM. 5. Data Manipulation Language 5. Data Manipulation Language 5.1 OBJECTIVES This chapter involves SQL Data Manipulation Language Commands. At the end of this chapter, students should: Be familiar with the syntax of SQL DML commands

More information

DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache

DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache 90 hrs (3 hrs/ week) Unit-1 : Installing and Configuring MySQL, Apache and PHP 20 hrs Installing

More information

Lab # 6. Using Subqueries and Set Operators. Eng. Alaa O Shama

Lab # 6. Using Subqueries and Set Operators. Eng. Alaa O Shama The Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Database Lab Lab # 6 Using Subqueries and Set Operators Eng. Alaa O Shama November, 2015 Objectives:

More information

Validate and Protect Data

Validate and Protect Data Validate and Protect Data Chapter 8 Objectives In this section you will Restrict Data Entry to a Cell Test the Data Entered in a Cell for Validity Display Instructions for Data Entry Display Error Messages

More information

Chapter 3. More Flow of Control. Copyright 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Chapter 3. More Flow of Control. Copyright 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 More Flow of Control Overview 3.1 Using Boolean Expressions 3.2 Multiway Branches 3.3 More about C++ Loop Statements 3.4 Designing Loops Slide 3-3 Flow Of Control Flow of control refers to the

More information

: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET

: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET 2006-938: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET David Hergert, Miami University American Society for Engineering Education, 2006 Page 11.371.1 Creating Web

More information

BAAN IV OLE with BAAN IV

BAAN IV OLE with BAAN IV BAAN IV User Guide U7022A US Research and Development Document information Document Number : U7022A US Group : User documentation Name : Edition : A Date : March 1997 1997 Baan Development B.V. All rights

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies Database Systems: Design, Implementation, and Management Tenth Edition Chapter 14 Database Connectivity and Web Technologies Database Connectivity Mechanisms by which application programs connect and communicate

More information