Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim MDACVersion As String
Private Function MDACInstalled() As Boolean
Dim O As Object
On Error Resume Next
Set O = CreateObject("ADODB.Connection")
If Err.Number <> 0 Then 'Error occurred - not installed
Err.Clear
MDACInstalled = False
MDACVersion = "Not Installed"
Else
MDACVersion = O.Version 'May as well find out the version while it's open
Set O = Nothing 'Dispose of the object
MDACInstalled = True
End If
End Function
Private Sub Command1_Click()
If MDACInstalled() Then
MsgBox "MDAC Version " & MDACVersion & " installed", vbInformation
End If
End Sub