sbtechforums
Programmer
Using Microsoft DAO 3.5 Object Library reference in Visual Basic 5.0 on Windows XP machine is not working. The machine has MS-Office 97 SR2, Visual Studio 5 SP3, and DAO 3.5, DAO 3.6 alongside with JET 3.51 and JET 4.0 with MDAC version 2.7.
When trying to run the VB project, an error message "Run-time error 429: Object cannot be created" is being generated in the code where a database object is being created to point to an MS-Access 97 database. Both dlls - dao350.dll for DAO 3.5 Object Library and dao360.dll for DAO 3.6 Object Library are registered.
The project has been developed using DAO 3.5 Object Library on a Windows 2000 machine having MS-Office 97 SR2, Visual Studio 5 SP3, DAO 3.5, JET 3.51 and MDAC 2.5.
The XP machine has both DAO 3.5 and DAO 3.6, and MDAC 2.7 whereas the Windows 2000 machine has only DAO 3.5 and MDAC 2.5. Would this in anyway be causing the problem for the VB project to run on the XP machine using DAO 3.5? It works fine if we change the VB reference to DAO 3.6 instead of 3.5. But we do not want to do that, because, then the compiled project will have a different set of dlls on the client machines.
When trying to run the VB project, an error message "Run-time error 429: Object cannot be created" is being generated in the code where a database object is being created to point to an MS-Access 97 database. Both dlls - dao350.dll for DAO 3.5 Object Library and dao360.dll for DAO 3.6 Object Library are registered.
The project has been developed using DAO 3.5 Object Library on a Windows 2000 machine having MS-Office 97 SR2, Visual Studio 5 SP3, DAO 3.5, JET 3.51 and MDAC 2.5.
The XP machine has both DAO 3.5 and DAO 3.6, and MDAC 2.7 whereas the Windows 2000 machine has only DAO 3.5 and MDAC 2.5. Would this in anyway be causing the problem for the VB project to run on the XP machine using DAO 3.5? It works fine if we change the VB reference to DAO 3.6 instead of 3.5. But we do not want to do that, because, then the compiled project will have a different set of dlls on the client machines.