OSPlatform Property

       

Returns a value that identifies the operating system under which the application is currently running. Not available at design time.

Syntax

object.OSPlatform

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

Return Values

The OSPlatform property returns these values:

Value Description
0 Win32s
1 Windows 95
2 Windows NT