Article ID: 192783
Article Last Modified on 4/22/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q192783
SYMPTOMS
The Package and Deployment Wizard- (PDW) generated HTML page for IE 3.x will not contain the CLSID for an ActiveX Document EXE.
RESOLUTION
Use REGEDIT to determine CLSID for your project and manually enter the CLSID in the PDW generated HTML page.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Start Visual Basic 6.0 and select ActiveX Document EXE.
- Save the project as follows:
"C:\Test\project1.vbp" - Start the Visual Basic 6.0 Package and Deployment Wizard, click the "Package" button, and compile the project.
- Select "Internet Package," and go through to the "Finished" step using the default options.
Click "Finish," and then generate the setup program.
Result:
The generated PDW HTML page does not contain CLSID as shown in the example below:<HTML> <HEAD> <TITLE>YourProject.CAB</TITLE> </HEAD> <BODY> <a href=UserDocument1.VBD>UserDocument1.VBD</a> <!--*********** Comment Begin ********** Internet Explorer Version 3.x HTML ==================================== The following HTML code has been commented out and provided for ActiveX User Documents download support in IE 3.x only. This HTML script may not work properly in later versions of Internet Explorer. Additional information about downloading ActiveX User Documents in IE 3.x can be found in Microsoft's Online support on the internet at http://support.microsoft.com. *********** Comment End ********** --> <!--*********** Comment Begin ********** <HTML> <OBJECT ID="UserDocument1" CLASSID="CLSID:" CODEBASE="g1.CAB#version=1,0,0,0"> </OBJECT> <SCRIPT LANGUAGE="VBScript"> Sub Window_OnLoad Document.Open Document.Write "<FRAMESET>" Document.Write "<FRAME SRC=""UserDocument1.VBD"">" Document.Write "</FRAMESET>" Document.Close End Sub </SCRIPT> </HTML> *********** Comment End ********** --> </BODY> </HTML>
REFERENCES
For additional information, please see the following article in the Microsoft Knowledge Base:
190046 : INFO: VB6 Readme Part 6 - Wizard Issues
Keywords: kbbug kbactivedocs kbappsetup kbwizard KB192783