Registering ADO components
Posted on 2003-03-17
Hello to the experts out there
We all know that creating a database project in VB6 requires you to install MDAC on the clients machine which the PDW will happily add for you. However this significantly adds to the installation size. From 3MB to 10MB!
This is not an option for me so i tried adding only the reference that the project needed: the Microsoft Active X data objects library 2.7, (msado15.dll)
I also added in the .reg files to register them during setup. (Adoapt15.reg,Adofre15.reg)
This works fine on my developing PC, but during testing, an error occurs while trying to register the component. I am developing on an NT machine and i have trouble installing on another 'clean' NT machine. However when i checked the NT machine, it already had the ado components installed under "\Program Files\Common\System\ADO"
On a Win2000 machine it runs okay.
On Win98/95 I know DCOM98 is needed, but i have yet to try that yet.
Have not test on WinME either.
Can someone tell me how to solve this?