I have a visual basic program complete and worked fine with Access 2000 as the database. Then when I uninstalled Access 2000 and install Microsoft Access 2000 Runtime I got an error when I came to the following line of code
Set objAccess = CreateObject("Access.Application"
The error generate is
Error Number = 429
Error Description = ActiveX component can't create object
Note - objAccess is defined as Private objAccess as Object
I am allowed to read, display and add records to the access database but not allowed to create an object of type Access.Application for displaying the reports since the reports are also done in access. The program has no problems with the full version of Access but with the runtime version I feel some dll files or something are missing.
Any help greatly appreciated!
Set objAccess = CreateObject("Access.Application"

The error generate is
Error Number = 429
Error Description = ActiveX component can't create object
Note - objAccess is defined as Private objAccess as Object
I am allowed to read, display and add records to the access database but not allowed to create an object of type Access.Application for displaying the reports since the reports are also done in access. The program has no problems with the full version of Access but with the runtime version I feel some dll files or something are missing.
Any help greatly appreciated!