How To Access Nested ActiveX Control's Property/Method by Name from Web Page Script (241434)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q241434 SUMMARY
When hosting an ActiveX Control on a HTML page, there are occasions wherein you need to call methods or properties of any nested controls in the ActiveX Control. This article demonstrates how to do that.
This is achieved by having public methods in the parent ActiveX Control and by using the CallByName function to call methods and properties of the inner control.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
186143 How To Use the CallByName Function to Run a Procedure
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbhowto KB241434 |
---|
|