The application written in VB6 run this code:
However the application fails with the error message:Code:Private Sub Image7_Click() Dim objaccess As Access.Application Set objaccess = CreateObject("Access.Application") objaccess.OpenCurrentDatabase "MyAccessDB.mdb" objaccess.DoCmd.RunMacro "SomeMacro" objaccess.DoCmd.Maximize End Sub
Is this message related to the library msacc9.olb or some other library?Code:"Run time error '429', ActiveX component can't create object"
Do I need to register some library with Windows 7?
Or what should I do?




Reply With Quote
