markbeeson
Programmer
I've got an application that includes a feature to compact and repair the access database that runs the application.
Whenever I try to install it on a machine that doesn't have access installed it gives me the error 'cannot create activex component'
I've included msacc8.olb in the setup package - any idea what's going on.
Here's the code that calls the function.
Dim oAccess As Access.Application
Set oAccess = CreateObject("Access.Application.8"
oAccess.DBEngine.RepairDatabase CurrentDB
Set oAccess = Nothing
Whenever I try to install it on a machine that doesn't have access installed it gives me the error 'cannot create activex component'
I've included msacc8.olb in the setup package - any idea what's going on.
Here's the code that calls the function.
Dim oAccess As Access.Application
Set oAccess = CreateObject("Access.Application.8"
oAccess.DBEngine.RepairDatabase CurrentDB
Set oAccess = Nothing