ActiveX component can't create object
Posted on 2000-05-06
I have written a program on Windows 95 (the "development machine"), which creates a database using ADOX and populates and manipulates it using ADO.
I have packaged the program using the Microsoft Visual Studio Installer. The program installs and runs OK on the development machine.
However, when I have installed and tried the program on a W98 computer (the "target machine"), I've got an error message "ActiveX component can't create object". It happened when the program called a subroutine whose first statement was:
Dim rst As New ADODB.Recordset
I understand that the error means that the program could not create the recordset object.
Note that the error happened AFTER the program had successfully created a database on the target machine.