Results 1 to 5 of 5

Thread: Difference between DAOs, RDOs and ADOs in VB 6.0

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    2

    Difference between DAOs, RDOs and ADOs in VB 6.0

    Hi,

    Could someone please give me the differences between the different database connectivity procedures in VB 6.0

    Thanks in Advance,

    Mitra.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Difference between DAOs, RDOs and ADOs in VB 6.0

    Welcome to VBForums!

    I'll start by intentionally ignoring two of the options... DAO and RDO are both officially obsolete, so you should not even consider using them (as you cannot be sure they will work on other computers).

    That leaves ADO, which is safe (for about as long as VB6 is anyway!). There are basically two options within ADO, one is to use the ADODC control and the other is to use code (ADODB). Using the control is a bad idea, for some of the reasons see the "why bound controls are bad" article in our Database FAQs (at the top of this forum, or link below).

    This means that the only 'sensible' option is to use ADO code, an example of which can be found in the "ADO Tutorial" from our Database FAQs (or via the direct link in my signature).

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    2

    Re: Difference between DAOs, RDOs and ADOs in VB 6.0

    Thanks for the quick response.

    However, could you please give me some description regarding DAOs and RDOs along with their functionality. The title that I gave was the question asked to me in an interview.

    If possible could you please provide me the list of FAQs on VB 6.0 along with answers.

    Thanks,
    Mitra.

  4. #4
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Difference between DAOs, RDOs and ADOs in VB 6.0

    As SI said - it doesn't really matter much anymore...

    But if you want to know what all those protocols were here's an old thread that discusses it.

    http://www.vbforums.com/showthread.p...ight=ado+oledb

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  5. #5
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Re: Difference between DAOs, RDOs and ADOs in VB 6.0

    DAO is fine for working only within Access, at least up to Access 2K or 2K2, never used it beyond that. If you use anything else to work with Access data, VB6 for example, use ADO. ADO.Net if you're using VB.Net.
    Tengo mas preguntas que contestas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width