PRB: VB 4.0 16-Bit Add-Ins Fail After Installing VB 6.0
ID: Q188542
|
The information in this article applies to:
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0
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: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency Repair
Disk (ERD).
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.
MORE INFORMATION
You receive the error message listed above in one of two ways within the
Visual Basic 4.0 16-bit environment:
- When you launch Visual Basic 4.0 16-bit, and you have at least 1 Add-In
selected to load.
- When you attempt to add an Add-In module to Visual Basic 4.0 through the
Add-In Manager.
Additional query words:
kbDSupport kbdss kbvbp600 kbVBp kbRegistry kbAddIn kbVBp400
Keywords : kbGrpVB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb