Internet First Steps: Asynchronous Monikers

HomeOverviewHow Do I

With asynchronous monikers, you can extend your COM application to download asynchronously across the Internet and to provide progressive rendering of large objects such as bitmaps and VRML objects. Asynchronous monikers enable an ActiveX control property or a file on the Internet to be downloaded without blocking the response of the user interface. For basic information about asynchronous moniker support, see Internet Downloading Using Asynchronous Monikers.

To download a file using asynchronous monikers

  1. Declare a class derived from CAsyncMonikerFile.

  2. Override OnDataAvailable to display the data

  3. Override other member functions, including OnProgress, OnStartBinding, and OnStopBinding.

  4. Declare an instance of this class and use it to open URLs.

For information about downloading asynchronously in an ActiveX control, see Internet First Steps: ActiveX Controls.

See Also   Internet: Where Is...