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:
<OBJECT codebase=MyControl.CAB#Version1,0,0,6 classid="clsid:123D5234-3798-11D2-BA53-0020AFD51B12"></object>
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
MORE INFORMATION
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.
- When prompted, choose an Internet Package.
- Choose the default setting for the options on subsequent screens of the wizard.
- 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.
REFERENCES
For more information on how to debug issues related to Package and Deployment Wizard, please see the following article in the Microsoft Knowledge Base:
Q194296 HOWTO: Debug PDW Internet Deployment Issues
For other issues related to Package and Deployment of Visual Basic Project, please see:
Personal Online Support: Deploying Visual Basic Applications
Additional query words: PDW VBD Download
Keywords: kbdownload kbbug kbfix kbactivedocs kbinetdev kbcab kbvbp600fix kbcode kbvs600sp3fix KB223091