Database
  Home arrow Database arrow Page 2 - ADO`s Stream Object
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DATABASE

ADO`s Stream Object
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2006-09-19

    Table of Contents:
  • ADO`s Stream Object
  • How to open a Stream object using ADO
  • Syntax for opening a Stream
  • Opening a Stream using an open Record Object
  • Opening a Stream using an URL reference
  • Opening a Stream with no argument, Memory Stream

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    ADO`s Stream Object - How to open a Stream object using ADO
    (Page 2 of 6 )

    Since the Stream object's content is in the record object, the Stream object can be opened after opening a record object. We have also seen that the Record object can be opened using an already open recordset object. In this case the recordset object is really looking at an URL.

    The Stream object can be opened without opening either the Record or recordset (followed by record) objects. It can be opened simply by supplying the URL as an argument. Another way of creating the Stream object is to open it in memory, which holds the contents of the Stream in memory, like a local buffer. This method will not require any arguments.

    There are therefore at least four ways of opening the Stream object, and they will be illustrated by examples. Based on these different ways, the Stream object's relationship vis-à-vis the other objects should be as shown in this next picture (in earlier diagrams the Stream object is sitting all by itself).

    Adding a reference to the ADO 2.8 library

    The MS Access Application Stream is open in the visual basic editor. Go to Tools -->References... as shown in the next picture.

    This brings up the References - stream window as shown. Here you use the scroll bar to scroll down and pick ADO 2.8. The default may be ADO 2.0. Now you can access all the properties and methods of all the ADO objects including the Stream object.

    At this point you may be interested in all the different properties and methods of the Stream object. There is no better place look than the Object Browser.

    More Database Articles
    More By Jayaram Krishnaswamy


       · There will be a follow up article that shows you how to manipulate the web files on...
     

    DATABASE ARTICLES

    - Database Programming in C# with MySQL : Usin...
    - Formatting Techniques for Data Access from E...
    - Data Access from Excel VBA
    - Generating a Multiple Table Crystal Report u...
    - ADO and the Command Object
    - On Wiring Up an ADO Data Control
    - Reading and Writing to Files on the Intranet
    - Using ADO Record to Create and Navigate Intr...
    - Using Data Access Pages to Access Data on a ...
    - Using ADO with the SQL Native Client
    - ADO`s Stream Object
    - Opening a Record Object Referencing an Open ...
    - Introducing Jasper (SQL Anywhere 10 Beta)
    - Creating a Database Project in VS 2005
    - Manipulating ADO Recordsets




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway