PRB: Visual Basic Displays Incorrect Edition Splash ScreenLast reviewed: March 17, 1998Article ID: Q149619 |
The information in this article applies to:
SUMMARYAfter installing the Professional or Enterprise Edition of Visual Basic, the Startup splash screen displays Standard Edition. Any attempt to use the Professional or Enterprise controls or features fails and shows the error message:
License file not found. STATUSThe LICENSES key is corrupt or is missing the Professional or Enterprise licensing information and cannot be read properly. Microsoft has confirmed this to be a problem in Microsoft Visual Basic for Windows, version 4.0.
MORE INFORMATIONVisual Basic and all custom controls store licensing information under the HKEY_CLASSES_ROOT\LICENSES key. The keys under this key correspond to components in the Visual Basic environment, third party .OCX files, and other Windows applications. If there is any damage to this key, the licensed components cannot retrieve their licensing information and fail to load properly or fail to load at all. This problem is most prevalent on Windows 3.x machines where the registry is limited to 64K of data. Information stored beyond this 64K boundary can not be read. Many applications now use OLE and other technologies that require registration. As a result, a registry size above 64K is not uncommon. Since much of the information is usually unwanted remnants of removed or upgraded software, a periodic cleaning is recommended. This can be accomplished by using Regcln16.exe from the Visual Basic for Windows 4.0 CD-ROM. This problem can and does occur on Windows 95 and Windows NT machines, although it is far less frequent. The registry is not limited to 64K on these platforms so the problem is usually registry corruption. Although the size of the registry is not limited, it can benefit from a periodic cleaning using Regclean.exe.
WORKAROUNDTo work around this issue in Windows 3.x:
Alternative Method
Keywords : SetIns kbenv kbprb Version : 4.00 | 4.00 Platform : NT WINDOWS |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |