vuLoadProfile
Purpose
Load the managed profile named default into active runtime memory.
This is the normal Basic-safe profile load function when you want to explicitly replace the current runtime settings with the saved default managed profile.
Export name
Clarion prototype (Inside Global MAP)
- vuLoadProfile(),LONG,PROC,PASCAL,RAW,NAME(‘vuLoadProfile’)
Parameters
Return value
- 1 = success
- 0 = load failed
What it does
vuLoadProfile() performs an explicit managed-profile load of default.
After a successful load:
- the current live runtime values are replaced by the saved values from default
- default becomes the active managed profile
- unsaved runtime changes from the current session are discarded
Clarion example
Result LONG
Result = vuLoadProfile()
Notes
- This is an explicit replace operation.
- In the normal Basic wizard flow, developers often do not need to call this manually because the saved active profile is applied automatically after profile save and on later application startup.
- Use vuLoadProfileEx(ProfileName) when you need to load a named profile in a licensed Pro or Back Office workflow.