Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

BUG: Closing HTA That Contains Visual Basic ActiveX Control Combo Box Crashes in Windows 98 SE


View products that this article applies to.

This article was previously published under Q315729

↑ Back to the top


Symptoms

If you close a Hypertext Markup Language Application (HTA) that contains a Microsoft Visual Basic ActiveX control with a combo box, the HTA stops responding (crashes) in Windows 98 Second Edition (SE).

↑ Back to the top


Resolution

To work around this problem, host the Visual Basic control in a Microsoft Active Template Library (ATL) composite control.

↑ Back to the top


Status

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

↑ Back to the top


More information

The crash is a general protection fault in User.exe.


MSHTA caused a general protection fault
 in module USER.EXE at 0004:00000499.
 Registers:
 EAX=c0030002 CS=178f EIP=00000499 EFLGS=00000202
 EBX=00020000 SS=33ef ESP=000083f4 EBP=00568404
 ECX=00000000 DS=169f ESI=00020000 FS=3457
 EDX=8174335f ES=0000 EDI=00000000 GS=0000
 Bytes at CS:EIP:
 26 3b 47 18 7e 42 8e 46 fe 26 81 7c 42 00 04 7d
 Stack dump:
 7708385f 00000002 00017ce4 335f7ce4 2717842a 0000175f 00000000 00000000 77080000 00000030 80329a60 00000a98 00000424 843c0000 00000cdf 00000000
					

Steps to Reproduce Behavior

  1. Create an ActiveX control in Visual Basic 6.0.
  2. Place a ComboBox control on the form, and then save the control.
  3. Use the Package and Deployment Wizard to package the control. Accept all defaults during the steps in the wizard.
  4. The wizard creates an .htm file in the package subdirectory. Copy the .htm file, and then save the new .htm file as an .hta file.
  5. When you open the .htm file in your browser, the .htm file runs without problems and displays the combo box. However, when you open the .hta file in your browser and then try to close the browser, a general protection fault (GPF) error occurs.

↑ Back to the top


References

For more information, refer to the following Microsoft Web sites:

↑ Back to the top


Keywords: KB315729, kbie600presp1fix, kbfix, kbctrl, kbbug

↑ Back to the top

Article Info
Article ID : 315729
Revision : 4
Created on : 5/21/2007
Published on : 5/21/2007
Exists online : False
Views : 527