FIX: Accelerator Keys Not Handled in a UserControl When Hosted by Internet Explorer
ID: Q223087
|
The information in this article applies to:
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, versions 5.0, 6.0
-
Microsoft Internet Explorer (Programming) versions 4.0, 4.01, 4.01 SP1, 4.01 SP2
SYMPTOMS
An ActiveX Control does not respond to Accelerator Keys, such as END, when hosted in Internet Explorer.
CAUSE
This is a known bug.
RESOLUTION
This has been fixed in the Visual Studio Service Pack 3.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products 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 service packs, please see the following articles in the Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
MORE INFORMATION
The special navigation and selection accelerator keys do not work in the standard Visual Basic controls in an ActiveX control in the browser.
Steps to Reproduce Behavior
- Start an ActiveX Control project in Visual Basic 6.0.
- Place a textbox on the control.
- Save the project.
- From the Visual Basic Add-Ins menu, select the Add-In Manager.
- Make sure the Packaging and Deployment Wizard (PDW) is loaded and close that dialog box.
- Select the PDW from the Add-Ins menu.
- Allow PDW to save and compile the control, then select Internet packaging.
- Accept the rest of the default options for the PDW.
- Open the .htm file created in the previous step with Internet Explorer.
- Click in the textbox on the control to give it focus and press HOME or END.
If you built the control without Visual Basic 6.0 Service Pack 3 installed, nothing will happen.
REFERENCES
For further information on building ActiveX controls see the Component Development section of the MSDN Web Workshop
For related Knowledge Base articles and FAQs refer to the Technical Assistance option of that section.
Additional query words:
KEY CONTROL
Keywords : kbservicepack kbActiveX kbInternet kbVBp600 kbGrpInet kbVS600sp2 kbVS600SP1 kbVS600sp3fix kbInetDev
Version : WINDOWS:4.0,4.01,4.01 SP1,4.01 SP2,5.0,6.0
Platform : WINDOWS
Issue type : kbbug