Microsoft KB Archive/223091

= FIX: Bad Codebase Parameter Made by VB6 PDW for DHTML Projects =

Article ID: 223091

Article Last Modified on 5/12/2003

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Learning Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q223091



SYMPTOMS
ActiveX controls or documents packaged using the Package and Deployment Wizard (PDW) do not upgrade to newer versions.



CAUSE
The HTML file created by the PDW does not have the correct object tag. The object tag created did not put a "=" between Version and the version number. This causes the page not to upgrade the ActiveX control.

For example:





RESOLUTION
Install Visual Studio Service Pack 3.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3.

For more information about Visual Studio 6.0 Service Packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed



Steps to Reproduce Behavior
To reproduce this bug, follow these steps:  Start an ActiveX DLL project in Visual Basic 6.0. Add a DHTML Page to the project. Save the project and compile it into a DLL. From the Add-ins menu, start the Package and Deployment Wizard. Package the project. <ol style="list-style-type: lower-alpha;"> When prompted, choose an Internet Package.</li> Choose the default setting for the options on subsequent screens of the wizard.</li></ol> </li> Open the HTML file that was created in the Package directory.

Result: The source contains a codebase parameter similar to the one decribed above in the OBJECT tag if you do not have Visual Studio Service Pack 3 installed.</li></ol>

<div class="references_section">