DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: mdac

  1. #1
    sanjay Guest

    mdac


    Hi guys
    I want to install mdac 2.5 on my machine programatically.
    after checking for its existence .
    i am executing it by shell api call.
    Is there any way or any api call by which i can know wether
    mdac 2.5 (2.5 is important) is installed or not so that i don't have
    to install again it if it is already installed.
    Thanks


  2. #2
    Filipo Novo Mór Guest

    Re: mdac


    "sanjay" <smenon75@hotmail.com> wrote:
    >
    >Hi guys
    >I want to install mdac 2.5 on my machine programatically.
    >after checking for its existence .
    >i am executing it by shell api call.
    >Is there any way or any api call by which i can know wether
    >mdac 2.5 (2.5 is important) is installed or not so that i don't have
    >to install again it if it is already installed.
    >Thanks
    >


    Hi, Sanjay,

    You can try to instance an ADO object and then test for their version
    (for sample, ADODB.Connection object). Do it using the CreateObject function,
    to prevent errors if exists a different version of ADO installed.

    Good luck!

    Filipo



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links