hInstance Property

       

Returns a handle to the instance of the application.

Syntax

object.hInstance

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

The hInstance property returns a Long data type.

When working with a project in the Visual Basic development environment, the hInstance property returns the instance handle of the Visual Basic instance.