Microsoft KB Archive/169534: Difference between revisions
m (Text replacement - ">" to ">") |
m (Text replacement - """ to """) |
||
Line 76: | Line 76: | ||
<li><p>Copy the following .REG file information into the new document.<br /> | <li><p>Copy the following .REG file information into the new document.<br /> | ||
<br /> | <br /> | ||
'''IMPORTANT NOTE''': Due to the width constraints imposed by this article's format, the underscore character ( | '''IMPORTANT NOTE''': Due to the width constraints imposed by this article's format, the underscore character ("_") is used as a line continuation character when it appears at the end of a line. When the information below is copied into a text editor, the underscores at the end of the lines should be deleted and the lines which follow the underscores should be appended to the end of those lines. There are no leading or trailing spaces. For example, a line such as:</p> | ||
<pre class="fixed_text"> [HKEY_CLASSES_ROOT\TypeLib\_ | <pre class="fixed_text"> [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB} | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB} | ||
Line 98: | Line 98: | ||
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF- | [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF- | ||
00DD010F7EBB}\4.0] | 00DD010F7EBB}\4.0] | ||
@= | @="Microsoft Visual Basic 4.0 Development Environment" | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\0] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\0] | ||
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | ||
\4.0\0\win16] | \4.0\0\win16] | ||
@= | @="C:\\Program Files\\Visual Basic4\\16-bit\\vbext.olb" | ||
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | ||
\4.0\0\win32] | \4.0\0\win32] | ||
@= | @="C:\\Program Files\\Visual Basic4\\32-bit\\vbext32.olb" | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\FLAGS] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\FLAGS] | ||
@= | @="0" | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\HELPDIR] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\HELPDIR] | ||
@= | @="C:\\Program Files\\Visual Basic4\\16-bit" | ||
; Visual Basic 5.0 Sub-Keys. | ; Visual Basic 5.0 Sub-Keys. | ||
Line 118: | Line 118: | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0] | ||
@= | @="Microsoft Visual Basic 5.0 Extensibility" | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\0] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\0] | ||
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | ||
\5.0\0\win16] | \5.0\0\win16] | ||
@= | @="C:\\Program Files\\Visual Basic4\\16-bit\\VBEXT.OLB" | ||
HKEY_CLASSES_ROOT\TypeLib\_ | HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\0\win32] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\0\win32] | ||
@= | @="C:\\Program Files\\DevStudio\\VB5\\VB5EXT.OLB" | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\FLAGS] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\FLAGS] | ||
@= | @="0" | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\HELPDIR] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\HELPDIR] | ||
@= | @="C:\\Program Files\\DevStudio\\VB5" | ||
; Additional Visual Basic 4.0 Sub-Key. | ; Additional Visual Basic 4.0 Sub-Key. | ||
Line 142: | Line 142: | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0] | ||
@= | @="Microsoft Visual Basic 4.0 Development Environment" | ||
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | ||
\99.0\0] | \99.0\0] | ||
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | ||
\99.0\0\win16] | \99.0\0\win16] | ||
@= | @="C:\\Program Files\\Visual Basic4\\16-bit\\vbext.olb" | ||
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ | ||
\99.0\0\win32] | \99.0\0\win32] | ||
@= | @="C:\\Program Files\\Visual Basic4\\32-bit\\vbext32.olb" | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0\FLAGS] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0\FLAGS] | ||
@= | @="0" | ||
[HKEY_CLASSES_ROOT\TypeLib\_ | [HKEY_CLASSES_ROOT\TypeLib\_ | ||
{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0\HELPDIR] | {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0\HELPDIR] | ||
@= | @="C:\\Program Files\\Visual Basic4\\16-bit" | ||
;End Reg File | ;End Reg File | ||
</pre></li> | </pre></li> | ||
<li><p>You must replace all occurrences of the following text strings within the document with the correct path strings. Make sure that you use the double back slash | <li><p>You must replace all occurrences of the following text strings within the document with the correct path strings. Make sure that you use the double back slash "\\" to delimit each folder.</p> | ||
<pre class="fixed_text"> Replace This With This | <pre class="fixed_text"> Replace This With This | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
Latest revision as of 11:04, 21 July 2020
Article ID: 169534
Article Last Modified on 1/8/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Control Creation Edition
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 16-bit Enterprise Edition
This article was previously published under Q169534
SYMPTOMS
When you try to access Microsoft Visual Basic 4.0 16-bit Add-Ins after you have installed Microsoft Visual Basic 5.0, the following error message to appears:
CAUSE
This problem occurs because the new type information installed by Microsoft Visual Basic 5.0 is unreadable by 16-bit Microsoft Visual Basic 4.0.
RESOLUTION
Register a .reg file, such as the one included below, to work around this problem.
Step By Step Example
- Open NotePad or any other text editor.
Copy the following .REG file information into the new document.
IMPORTANT NOTE: Due to the width constraints imposed by this article's format, the underscore character ("_") is used as a line continuation character when it appears at the end of a line. When the information below is copied into a text editor, the underscores at the end of the lines should be deleted and the lines which follow the underscores should be appended to the end of those lines. There are no leading or trailing spaces. For example, a line such as:[HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}
Should be interpreted as:
[HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}
Now copy the following information into your text editor:
REGEDIT4 ; Main Visual Basic 5.0/Visual Basic 4.0 IDE Extensibility ; Typelib Key. ; [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}] ; Visual Basic 4.0 Sub-Keys. ; Information on 32-bit Visual Basic 4.0 below is important to keep ; if it is also installed on the machine. It is not necessary ; otherwise. ; [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF- 00DD010F7EBB}\4.0] @="Microsoft Visual Basic 4.0 Development Environment" [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\0] [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ \4.0\0\win16] @="C:\\Program Files\\Visual Basic4\\16-bit\\vbext.olb" [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ \4.0\0\win32] @="C:\\Program Files\\Visual Basic4\\32-bit\\vbext32.olb" [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\FLAGS] @="0" [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\4.0\HELPDIR] @="C:\\Program Files\\Visual Basic4\\16-bit" ; Visual Basic 5.0 Sub-Keys. ; [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0] @="Microsoft Visual Basic 5.0 Extensibility" [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\0] [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ \5.0\0\win16] @="C:\\Program Files\\Visual Basic4\\16-bit\\VBEXT.OLB" HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\0\win32] @="C:\\Program Files\\DevStudio\\VB5\\VB5EXT.OLB" [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\FLAGS] @="0" [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\5.0\HELPDIR] @="C:\\Program Files\\DevStudio\\VB5" ; Additional Visual Basic 4.0 Sub-Key. ; Because this is the highest version, the 16-bit IDE will use it. ; Information on 32-bit Visual Basic 4.0 below is important to keep ; if it is also installed on the machine. It is not necessary ; otherwise. ; [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0] @="Microsoft Visual Basic 4.0 Development Environment" [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:\\Program Files\\Visual Basic4\\16-bit\\vbext.olb" [HKEY_CLASSES_ROOT\TypeLib\{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}_ \99.0\0\win32] @="C:\\Program Files\\Visual Basic4\\32-bit\\vbext32.olb" [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0\FLAGS] @="0" [HKEY_CLASSES_ROOT\TypeLib\_ {EF404E00-EDA6-101A-8DAF-00DD010F7EBB}\99.0\HELPDIR] @="C:\\Program Files\\Visual Basic4\\16-bit" ;End Reg File
You must replace all occurrences of the following text strings within the document with the correct path strings. Make sure that you use the double back slash "\\" to delimit each folder.
Replace This With This ------------------------------------------------------------------------ C:\\Program Files\\DevStudio\\ <Your Path to Visual Basic 5.0> VB5 C:\\Program Files\\ <Your Path to Visual Basic 4.0 32-Bit> Visual Basic4\\32-bit C:\\Program Files\\ <Your Path to Visual Basic 4.0 16-Bit> Visual Basic4\\16-Bit
- Save the file as text with a .reg extension, that is, VBFix.reg.
- Open Microsoft Windows Explorer, locate and double-click the .REG file to register the proper entries in the Windows Registry.
STATUS
Microsoft is researching this problem and will post more information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
- On a machine with 16-bit Microsoft Visual Basic 4.0 installed, install an edition of Microsoft Visual Basic 5.0.
- Start 16-bit Visual Basic 4.0.
- Select Add-In Manager from the Add-Ins Menu.
- Select any Add-In by selecting its check box.
- Click OK. The error occurs.
Keywords: kberrmsg kb16bitonly kbprb KB169534