Lifetime of Visual Designer Objects

Instances of the visual designer may be created and destroyed many times during a Visual Basic development session.

Every time the visual designer's window is closed, Visual Basic destroys the current object. Whenever the end user opens the ActiveX designer item in the Project window, Visual Basic creates a new visual designer object. The visual designer must be able to write and load its persistent data so it can replicate its exact state each time the host creates it.