PRB: Visual Basic Displays Incorrect Edition Splash Screen
ID: Q149619
|
The information in this article applies to:
-
Microsoft Visual Basic Professional and Enterprise Editions, 16-bit and 32-bit, for Windows, version 4.0
SUMMARY
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.
STATUS
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.
MORE INFORMATION
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 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, Windows 98, 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.
WORKAROUND
To work around this issue in Windows 3.x:
- Uninstall Visual Basic.
- Delete OC25.DLL.
- Rename Reg.dat and restart Windows.
- Reinstall Visual Basic and all other software packages that use the
registry.
To work around this issue in Windows 95 and Windows NT:
- Using a registry editor, delete the HKEY_CLASSES_ROOT\LICENSES key.
- Run Regclean.exe.
- Delete OLEPRO32.DLL.
- Restart Windows and reinstall Visual Basic.
NOTE: The preceding methods are generally more successful but the method
following works under 64K (Windows 3.x), and if the registry is not
corrupted. This method does not interfere with any other applications.
Alternative Method
- Install Visual Basic.
- Run Regclean.exe (Windows 95, Windows 98, or NT) or Regcln16.exe
(Windows 3.x)
- Delete the \LICENSES key.
- Launch the File Manager and select the \SETUP directory on the
Visual Basic CD-ROM.
- Use the Extract.exe utility to find and decompress the Visual Basic
registration file. To do this, in the Run dialog box (on the File menu,
Run submenu), type:
EXTRACT.EXE /A /L C:\WINDOWS\ VB4-1.CAB *.REG
Press ENTER.
(This assumes C:\WINDOWS\ is the Windows directory of the machine.)
- Use Regedit.exe to register the registration files. To do this, in the
Run dialog box (on the File menu, Run submenu) type:
REGEDIT.EXE OLE2.REG
Press ENTER. Then type:
REGEDIT.EXE VBxxx.REG
Press ENTER.
(This assumes xxx is PRO or ENT, depending on the version.)
- Reinstall third party custom controls and any software that may
use the registry to store licensing information.
Additional query words:
SetIns kbVBp400 kbVBp500 kbdss kbVBp kbDSupport kbNoKeyWord
Keywords : kbGrpVB
Version : WINDOWS:4.0
Platform : NT WINDOWS
Issue type : kbprb