PRB: VB 4.0 16-Bit Add-Ins Fail After Installing VB 6.0 (188542)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q188542 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.
SYMPTOMS
After installing Visual Basic 6.0 you will receive the following error when
using Visual Basic 4.0 16-bit:
<Add-In Module> could not be loaded. Remove it from the list of
available Add-Ins?
CAUSE
Visual Basic 6.0 changes some of the registry settings that Visual Basic
4.0 16-bit uses.
RESOLUTION
Update the Windows Registry to enable Visual Basic 6.0 and Visual Basic 4.0
16-bit to work together on the same development system. 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. Step-by-Step Example- Copy and paste the below text into a text file:
REGEDIT4
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0]
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-
00DD010F7EBB}\99.0\0]
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-
00DD010F7EBB}\99.0\0\win16]
@="C:\\VB\\vbext.olb"
- Modify the "C:\\VB\\vbext.olb" line above to point to the location where
Visual Basic 4.0 16-bit was installed on your system.
NOTE: Make sure to press ENTER on the last line of the text file before
saving in the next step, or Regedit may not enter the last registry
entry above during step 4. - Save the file as Vb4.reg.
- Launch Windows Explorer, and double-click the Vb4.reg file. This process
updates the system registry.
- Launch Visual Basic 4.0 16-bit. The Add-Ins now work correctly.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbAddIn kbprb kbRegistry KB188542 |
---|
|