TADOConnection supports a Version property which according to the help
Indicates the version of ADO used.

property Version: WideString;

Description

Read Version at runtime to determine the version of ADO used. Some versions
of ADO do not support all possible features, so querying Version is
important when using features only supported in later versions.

The other alternative is to load the ADO DLL and check it's version
information.

Myles.


-----Original Message-----
From: Leigh Wanstead [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 2:46 PM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: ADO VERSION


Dear Myles,

Thank you for your quick response.

> What are you actually trying to do?
Show to end user what ADO version installed on his computer.

> Is that good enough?
No, not good enough.

Leigh

----- Original Message -----
From: "Myles Penlington" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Wednesday, November 01, 2000 2:31 PM
Subject: RE: [DUG]: ADO VERSION


> What are you actually trying to do?
>
> Don't know if you can do that (get the version), but if you require say
> ADO2.5, then attempt to create a ADO2.5 object and if it fails with class
> not registered then you know you cannot run.
>
> Is that good enough?
>
> Myles.
>
>
> -----Original Message-----
> From: Leigh Wanstead [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 01, 2000 2:30 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: ADO VERSION
>
>
> Hello everyone,
>
> How to programicaly retrive ADO version installed on a computer?
>
> Thanks in advance.
>
> Best Regards
> Leigh
>
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
>


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to