CHAPTER 7

Retaining Persistent Data and Saving the Run-Time Object

ActiveX Designers support persistence interfaces to save data for their visual designers and run-time objects. The host loads the persistent data to reestablish the visual designer or to load the run-time object.

To retain persistent data, you have to implement one or more of the ActiveX persistence interfaces in both the visual designer and the run-time object. You may also implement the IActiveDesigner interface.

The IActiveDesigner interface provides a way of saving persistent data when the visual designer and the run-time object are different. It also provides programmability access for add-ins.

This chapter describes: