docs

Home All functions Legacy functions Categories
All functions Legacy functions About function names

vuSaveProfile

Purpose

Save the current active runtime values into the managed profile named default.

This is the normal Basic-safe profile save function used by the vuMailKit Email Setup Wizard and by single-profile applications.

Export name

Clarion prototype

Prototype: vuSaveProfile(), LONG, PROC, PASCAL, RAW, NAME(‘vuSaveProfile’)

Parameters

Return value

Value Meaning
1 success
0 save failed
-9001 vuMailKit licensing was not initialized. Register the template/global extension or call vuMailKitInitialize(LicenseString) at EXE startup.
-9002 license string is invalid or initialization failed.
-9003 current license tier does not allow this feature.

What it does

vuSaveProfile() saves the current live runtime configuration into the internal managed profile key default.

That includes the current settings already loaded or set in memory, such as:

After a successful save:

Example (Clarion)

Result                   LONG

Result = vuSaveProfile()

Notes

All functions Legacy functions About function names
Home All functions Legacy functions Categories