FIX: Windows side-by-side execution is not supported for Visual Basic 6.0 ActiveX controls (828629)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP5
- Microsoft Visual Basic Learning Edition for Windows 6.0 SP5
- Microsoft Visual Basic Professional Edition for Windows 6.0 SP5
- Microsoft Windows XP Professional SP1
- Microsoft Windows XP Professional SP1a
SYMPTOMSWith Microsoft Windows XP and later versions, you can run Microsoft Component Object Model (COM) DLL modules in side-by-side (SxS) mode. With SxS, different versions of a COM DLL to co-exist in the same computer environment without conflict. This behavior occurs by using .manifest files that specify how a program may bind to a particular COM DLL. Microsoft Visual Basic 6.0 ActiveX controls are essentially COM DLL modules with .ocx file name extensions. If you try to configure these modules for SxS operation in Windows XP, you receive the following error message: Runtime Error '336' Component not correctly registered.
CAUSEThis problem occurs because both the Windows and Visual Basic runtimes do not support configuring SxS execution of Visual Basic 6.0 ActiveX controls.RESOLUTIONTo fully resolve this problem you must have both of the following: - The version of the Visual Basic runtime that is included with Visual Basic 6 Service Pack 6 (SP6)
- Windows XP Service Pack 2 (SP2)
For additional information about how to obtain the latest Visual Basic runtime, click the following article number to view the article in the Microsoft Knowledge Base:
290887
VBRun60sp6.exe installs Visual Basic 6.0 SP6 run-time files
To obtain Windows XP SP2, visit the following Microsoft Knowledge Base Web site: If you cannot install Windows XP SP2, you can obtain the Windows XP fix as a hotfix.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
843524
FIX: Side-by-side COM DLL module manifest for Visual Basic 6.0 ActiveX Controls is overridden by the registry in Windows XP
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 10/25/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbQFE kbWinXPpreSP2fix kbfix kbBug KB828629 kbAudDeveloper |
---|
|