PropPut

ACCPAC Common Controls

AccpacProperty.PropPut

Saves the property value to the user's property file.

Function PropPut(
  varBuf As Variant,
  lSize As Long) As Long

Parameters

varBuf

[in] the property value

lSize

[in] the size of the property value passed in through varBuf

Return Value

Returns 0 upon success and a non-zero error code upon failure.

Remarks

The property value passed into the function must be a String or an array of Bytes. The size of the property value is the length of the string or the number of elements in the array of Bytes.

The property whose value is being saved is specified by this AccpacProperty object's Keyword, MenuID, and objectID.