SetAutomationLocale

Description

Sets the language to be used in automation programming for an OLE object. Call SetAutomationLocale if you have programmed automation commands in a language other than the user’s locale.

Applies to

OLE objects

Syntax

olename.SetAutomationLocale ( language, sortorder )

Returns

Integer. Returns 0 if it succeeds and -1 if an error occurs.