Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

return value of MDAC

Status
Not open for further replies.

bas

Programmer
Jan 13, 1999
41
US
I am installing MDAC 2.6 as part of the Package and Deployment Wizard. If MDAC fails to install, I want to exit Setup1.

How can I check the return value of MDAC?
 
Hi,
If you want to do this in VB, here is some code.
Put this code in a command button 'Command1'

Private Sub Command1_Click()
Dim Conn As New ADODB.Connection
MsgBox "MDAC Version installed on this PC = " & Conn.Version, vbOKOnly, "MDAC Version"
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top