Database
  Home arrow Database arrow Page 2 - Using ADO with the SQL Native Client
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

Using ADO with the SQL Native Client
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 6
    2006-09-25

    Table of Contents:
  • Using ADO with the SQL Native Client
  • Adding Library References and ActiveX Objects
  • Exploring the SQL Native Client
  • Displaying XML data retrieved from SQL 2005

  • 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

    Free Web 2.0 Code Generator! Generate data entry 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!

    Using ADO with the SQL Native Client - Adding Library References and ActiveX Objects
    (Page 2 of 4 )

    Create an MS Access application and create a new form in design. Since the ADO objects will be used you need to set up a reference. Open the Microsoft Visual Basic editor and click on Tools to obtain the following drop-down menu.

    This opens the window References. Scroll down to get the Microsoft ActiveX data Objects 2.8 library and the scrrun.dll (Microsoft Scripting Runtime) items by checking them as shown in the next picture.

    .

    These references provide access to the methods and properties in these dlls. By referencing these libraries you also get the support of the invaluable intellisense. The properties and methods contained in these dlls can be seen in the Object Browser as shown for the ADO 2.8 library.

    .

    Now with the form showing you may add the Microsoft Web Browser control by accessing it as shown in the next picture. The web browser control will display the file that is obtained through the connection.

    Drag and drop a button and the web browser control on the form, and resize the web browser control as shown. Add another button to explore the properties.

    More Database Articles
    More By Jayaram Krishnaswamy


       · If you are looking for data on SQL 2005 Server, this is the fastest. You may also...
     

    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 5 hosted by Hostway