PRB: Visual Basic Displays Incorrect Edition Splash Screen |
Q149619
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
After 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.
Visual 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 cannot be read. Many applications now use OLE and other technologies that
require registration. As a result, a registry size above 64K is not
uncommon. Because so much of the information includes 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, Windows 98, Windows NT, and Windows 2000 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.
To work around this issue in Windows 3.x:
The 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.
Additional query words: SetIns
Keywords : kbnokeyword kbVBp kbVBp400 kbVBp500 kbGrpDSVB kbDSupport
Issue type : kbprb
Technology :
|
Last Reviewed: January 9, 2001 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |