Preview

Thesis

Powerful Essays
Open Document
Open Document
1880 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Thesis
Ch01

10/29/99

2:27 PM

Page 1

O

N

E

Visual Basic
Database
Programming

Welcome to our book on Microsoft Visual Basic and ActiveX Data Objects
(ADO) programming. In this book, we’re going to see a tremendous amount of database programming using ADO—from simply moving through a database by clicking buttons in a form all the way to using the
Remote Data Services (RDS) on Web servers, learning about data shaping, using hierarchical recordsets, and creating ActiveX controls that act as data sources. There’s an immense arsenal of ADO programming power in
Visual Basic, and this is the book where we’ll put it to work.
ADO is Microsoft’s newest database protocol, which was built to provide an easy interface to the large Microsoft database-handling package, OLE DB. ADO is a flexible standard that is intended to supersede the two earlier standards: Data Access Objects (DAO) and Remote Data
Objects (RDO). In this chapter, I’m going to start examining ADO database programming by giving an overview of Visual Basic database programming in general, then taking a brief look at both DAO and RDO before turning to ADO. I’ll put all three of these protocols into historical perspective to give you an idea why ADO is so powerful and where it fits into the scheme of things.
You may wonder why there are three different sets of database protocols available in Visual Basic. As it turns out, the reason is historical.
1

Ch01

10/29/99

2

2:27 PM

Page 2

Chapter one • Visual Basic Database Programming

At first, Visual Basic only supported DAO, which connected to the Microsoft Jet database engine (the database engine in Microsoft Access). Then, recognizing that there are other database types available, Microsoft created the Open Database Connectivity (ODBC) standard, and supported ODBC with RDO in Visual
Basic. Finally, Microsoft saw that the Web and other forms of data—from email to Web content—were available too, and created ADO,

You May Also Find These Documents Helpful

  • Satisfactory Essays

    DBM 380 Syllabus

    • 623 Words
    • 4 Pages

    Define database architecture. Consider Microsoft® Access®, Microsoft® SQL Server®, Oracle®, and IBM DB2® software as possible examples.…

    • 623 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Dbm380 Course Syllabus

    • 2296 Words
    • 10 Pages

    University policies are subject to change. Be sure to read the policies at the beginning of each class. Policies may be slightly different depending on the modality in which you attend class. If you have recently changed modalities, read the policies governing your current class modality. Course Materials Coronel, C., Morris, S., & Rob, P. (2013). Database systems: Design, implementation, and management (10th ed.). Boston, MA: Course Technology. Grauer, R. T., Mast, K., & Poatsy, M. A. (2011). Exploring Microsoft Office Access 2010 comprehensive. Upper Saddle River, NJ: Pearson Education. Kroenke, D. M., & Auer, D. J. (2011). Database concepts (5th ed.). Upper Saddle River, NJ: Pearson Education. Software Microsoft Access 2010 Virtual Desktop Microsoft Visio 2010 Virtual Desktop All electronic materials are available on the student website.…

    • 2296 Words
    • 10 Pages
    Satisfactory Essays
  • Satisfactory Essays

    A business needs this capability to store the information they currently have, create databases where they can review multiple entries of data, and transfer the same database from one instance of the program to a different instance that is on another computer.…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Thesis

    • 836 Words
    • 4 Pages

    Born on May 31, 1819, Walt Whitman was the second son of Walter Whitman, a housebuilder, and Louisa Van Velsor. The family, which consisted of nine children, lived in Brooklyn and Long Island in the 1820s and 1830s.…

    • 836 Words
    • 4 Pages
    Good Essays
  • Good Essays

    References: Barrodale Computing Services Ltd. (2011). Applications of Object Relational Database Management Systems at BCS. Retrieved from Barrodale Computing Services Ltd. (BCS): http://www.barrodale.com/docs/ORDBMS%20Applications%20at%20BCS.pdf…

    • 672 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Cis515

    • 3200 Words
    • 13 Pages

    References: Carter, J. (n.d.). Database Design and Programming with Access, SQL, Visual Basic and ASP.…

    • 3200 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    Data Modeling Tools

    • 498 Words
    • 2 Pages

    With the development of Universal Modeling Language, companies such as Microsoft and fabForce.net have created product to assist developers with designing databases. These tools are called Data Modeling Tools or DMT. Applications can vary from free to thousand of dollars depending on the amount of function ability. Today we will look at Microsoft Visio and fabForce.net DBDesigner 4.…

    • 498 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    data integration

    • 3605 Words
    • 15 Pages

    Figure 2: Simple schematic for a data-integration solution. A system designer constructs a mediated schema against which users can run queries. The virtual database interfaces with the source databases via wrapper code if required.…

    • 3605 Words
    • 15 Pages
    Powerful Essays
  • Better Essays

    References: for Software Development using Microsoft Office Products 3) Solomon, Christine, "Microsoft Office 97 Developer 's Handbook", Microsoft Press, Redmond,Washington,1997 4) Microsoft Corp.,"Microsoft Office 97 Visual Basic Programmer 's Guide"; Microsoft Press, Redmond,Washington, 1997 5) O 'Brien,T.M. & Pogge,S.J. & White,G.E.,"Microsoft Access 97 Developers Handbook", Microsoft Press, Redmond,Washington, 1997 6) Smith,Robert & Sussman,David,"Beginning Access 97 VBA Programming",Wrox Press Ltd.,Birmingham,UK,1997 7) "Visual Basic Programmer 's Guide, Version 5.0",Document No. DD93011-1296, Microsoft Corp., Redmond,Washington, 1997 8) Craig,J.C. & Webb,J.,"Miscosoft Visual Basic 5.0 Developer 's Workshop", Fourth Edition, Microsoft Press, Redmond,Washington,1997 9) Mann, Anthony,"Visual Basic 5.0 Developer 's Guide",Sams Publishing,Indianapolis,1997 10) Haught,D. & Ferguson,J.,"Microsoft Jet Database Engine Programmer 's Guide",Second Edition,Microsoft Press,Redmond,Washington,1997 Nuclear & Engineering Standards Summary (Partial List) 11) ANSI/IEEE-ANS-7-4.3.2, Application Criteria for Programmable Digital Computer Systems in Safety Systems of Nuclear Power Plants 12) ANSI/ANS-10.2,Recommended Programming Practices to Facilitate the Portability of Scientific and Engineering Computer Programs 13) ANSI/ANS-10.3,Guidleines for the Documentation of Digital Computer Programs 14) ANSI/ANS-10.4,Guidelines for the Verification & Validation of Scientific and Engineering Programs for the Nuclear Industry 15) ANSI/ANS-10.5,Guidelines for Considering User Needs in Computer Program Development 16) ANSI/ASME NQA-1,Quality Assurance Program Requirements for Nuclear Facilities 17) ANSI/ASME NQA-2 Part2.7,Quality Assurance Requirements of Computer Software for Nuclear Facility Applications 18) IEEE STD 1033,IEE Recommended Practice for Application of IEEE STD 828 to Nuclear Power Generating Stations 19) NUREG/CR-4640,Handbook of Software Quality Assurance Techniques Applicable to the Nuclear Industry 20) Regulatory Guide 1.152,Criteria for Programmable Digital Computer System Software in Safety-Related Systems of Nuclear Power Plants. 21) ANSI/IEEE Std 729,Glossary of Software Engineering Terminology 22) ANSI/IEEE Std 730, Software Quality Assurance Plans 23) ANSI/IEEE Std 828,Software Configuration Management 24) ANSI/IEEE Std 829,Software Test Documentation 25) ANSI/IEEE Std 830,Software Requirements Specifications 26) ANSI/IEEE Std 1008,Software Unit Testing 27) ANSI/IEEE Std 1012,Software Verification And Validation Plans 28) ANSI/IEEE Std 1016,Software Design Description…

    • 3465 Words
    • 14 Pages
    Better Essays
  • Good Essays

    They had a useful purpose in allowing existing applications to change from ISAM or KSAM databases, such as DBaseII, to SQL Server with the minimum of upheaval. DBLIB and ODBC make extensive use of them to 'spoof' simple file-based data sources.…

    • 527 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Object Oriented Database

    • 5350 Words
    • 22 Pages

    OODB the application architect has much more power to optimize performance than when using an RDB. Consequently the application architecture has more effect on performance and scalability than the choice of OODB product.…

    • 5350 Words
    • 22 Pages
    Powerful Essays
  • Powerful Essays

    The ADO.NET Entity Framework

    • 2319 Words
    • 10 Pages

    The ADO.NET Entity Framework provides a persistence layer for .NET applications that allows developers to work at a higher level of abstraction when interacting with data and data-access interfaces. Developers can model and access their data using a conceptual schema that is mapped to a relational database via a flexible mapping. Interaction with the data can take place using a SQLbased data manipulation language and iterator APIs, or through an object-based domain model in the spirit of object-to-relational mappers. We demonstrate how the Entity Framework simplifies application development using sample scenarios. We illustrate how the data is modeled, queried and presented to the developer. We also show how the provided data programming infrastructure can result in easier-to-understand code by making its intent more explicit, as well as how it can help with maintenance by adding a level of indirection between the logical database schema and the conceptual model that applications operate on. Categories and Subject Descriptors: H.2 [Database Management], D.3 [Programming Languages] General Terms: Algorithms, Management, Design, Languages Keywords: Data Programming, Conceptual Modeling, ADO.NET…

    • 2319 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    Proposal for Visual Basic

    • 1978 Words
    • 8 Pages

    Record Manipulation: The system project able to accessing record from the database, adding a new record and deleting any unwanted record if required.…

    • 1978 Words
    • 8 Pages
    Satisfactory Essays
  • Powerful Essays

    Lecture 11: Basic Input and Output Methods for VB Introduction  So far, we have relied on GUI-based Input/Output  By using VB controls  For Data Input to our programs     For Data Output from our programs:…

    • 1239 Words
    • 12 Pages
    Powerful Essays
  • Powerful Essays

    Failure to do this in Section B will result in only the first two answers being marked.…

    • 1585 Words
    • 13 Pages
    Powerful Essays

Related Topics