Returns an object reference to the container of an Active Document.
Syntax
GETHOST( )
Returns
Object
Remarks
Use GETHOST( ) to determine the container of an Active Document. The Name property can be used to determine the name of the container (such as Microsoft Internet Explorer) from the object reference.
GETHOST( ) returns the null value if the container cannot be determined or the Active Document isn’t running in a container (for example, the Active Document is running in an interactive Visual FoxPro session or within the Visual FoxPro runtime).