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



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 5.5 SP2, when used with:
    • Microsoft Windows 98 Second Edition
  • Microsoft Internet Explorer (Programming) 6.0, when used with:
    • Microsoft Windows 98 Second Edition

This article was previously published under Q315729

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).

RESOLUTION

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

STATUS

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

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.

REFERENCES

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

Modification Type:MajorLast Reviewed:5/12/2003
Keywords:kbbug kbCtrl kbfix kbIE600preSP1fix KB315729