DAO Error After Installing Visual Basic DAO ApplicationID: Q189607
|
Microsoft Excel 97 may return the following error message when using DAO
3.5, if an application created with Visual Basic 5.0 that uses DAO is
installed.
"Run-time error '429': ActiveX component can't create object"
If Microsoft Excel 97 is installed after an application created with
Microsoft Visual Basic 5.0 that uses DAO is installed, Excel does not add
the DAO design-time licensing key. This licensing key is required by Excel,
but is not required by applications created with Visual Basic.
NOTE: The same licensing key is also required and added by Visual Basic
5.0. Because Visual Basic adds the same DAO design-time licensing key
required by Excel, the problem does not occur if Visual Basic is installed.
To resolve this problem, add the DAO design-time licensing key to the
Registry. Note that you should back up the Registry before you edit it. If
you are running Windows NT, you should also update your Emergency Repair
Disk (ERD).
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
Microsoft has confirmed this to be a problem in Microsoft Excel 97.
HKEY_CLASSES_ROOT\LICENSES\F4FC596D-DFFE-11CF-9551-00AA00A3DC45NOTE: The problem will not reproduce if the following key exists:
HKEY_CLASSES_ROOT\LICENSES\F4FC596D-DFFE-11CF-9551-00AA00A3DC45
Sub Macro1()
Debug.Print DBEngine.Version
End Sub
Note that you get the error:"Run-time error '429': ActiveX component can't create object".
For information about how to edit the Registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe.
Additional query words: kbDSupport kbDSD kbVBp kbVBp500bug kbDAO350 KbRegistry kbVBp600bug
Keywords : ocsso
Version : WINDOWS:5.0,6.0,97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: August 9, 1999