FILE: Automating IE from Within a Contained VB ActiveX Control

ID: Q181075

The information in this article applies to:

SUMMARY

This sample illustrates using Internet Explorer's Automation model and scripting model from within a contained Visual Basic ActiveX control.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Vbobjvw.exe (size: 42726 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

More Information About the Sample

Vbobjvw is a Visual Basic sample that corresponds to the Objvw Active Template Library (ATL) sample included in the Internet Client SDK. This sample demonstrates the following:

Running the Sample

After downloading the above file. Run the executable to extract the sample files. Open Vbobjvw.vbp in Visual Basic 5.0. Make Vbobjvw.ocx (this will also register the control). Open the TestVB.htm file, which contains an instance of the control and links to several test pages.

Keywords          : kbfile kbsample
Technology        : kbInetDev ole
Version           : WINDOWS:3.02,4.0,4.01,5.0
Platform          : WINDOWS
Issue type        : kbhowto

Last Reviewed: February 13, 1998