Partager via


GETHOST( ) Function

Returns an object reference to the container of an Active Document.

GETHOST( )

Return Values

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).

See Also

ISHOSTED( ) | Name Property | Active Documents | The Running of Active Documents