Microsoft KB Archive/254922
PSS ID Number: 254922
Article Last Modified on 11/25/2003
The information in this article applies to:
- Microsoft Visio Standard 5.0x
- Microsoft Visio Professional 5.0x
- Microsoft Visio Technical 5.0x
- Microsoft Visio Enterprise 5.0x
- Microsoft Visual Basic for Applications
This article was previously published under Q254922
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
When you use Data Access Objects (DAO) in Visual Basic for Applications in Visio 5.x, you may receive the following error message:
The Setup program for Visio 5.x does not add the DAO design-time licensing key to the registry. This key is necessary for running Visual Basic for Applications programs that use Data Access Objects.
To resolve the problem, use the following steps to add the DAO design-time licensing key to the registry. If you use your Visual Basic for Applications program on multiple computers, you need to update the registry on each computer.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
To add the DAO design-time licensing key:
- Click Start, and then click Run.
- In the Run dialog box, type regedit, and then click OK.
- In Registry Editor, open the HKEY_CLASSES_ROOT folder and scroll down to the Licenses folder.
- Click the Licenses folder. On the Edit menu, point to New, and then click Key.
A new registry key appears.
- Rename the key F4FC596D-DFFE-11CF-9551-00AA00A3DC45.
- In the right pane of the Registry Editor window, double-click the default entry for the new key.
- In the Edit String dialog box, for Value Data, type mbmabptebkjcdlgtjmskjwtsdhjbmkmwtrak, and then click OK.
- If you use your Visual Basic for Application program on other computers, click Export Registry File on the Registry menu to create a registry file that includes the new key.
- On the Registry menu, click Exit to close Registry Editor.
If you exported the registry file in step 8, do the following on each computer that runs your Visual Basic for Applications program:
- Copy the file that you exported into the Windows folder.
- Double-click the file to add the DAO licensing key.
For additional information about this behavior, click the article number below to view the article in the Microsoft Knowledge Base:
189607 DAO Error After Installing Visual Basic DAO Application
Additional query words: prb 429 can t
Keywords: kbdtacode kberrmsg KB254922
Technology: kbVBASearch kbVisio500xSearch kbVisioSearch kbZNotKeyword3 kbZNotKeyword6