separator separator

SaveToRegistry (Property)

Returns or sets a value indicating whether on having applied a skin to a form the corresponding values of that skin will be saved to the system registry, so when other forms that are loaded, if they have Skin property set to skAuto_ReadFromRegistry (0) they will automatically adopt the value of skin selected in this form.


object.SaveToRegistry [= value]

The SaveToRegistry property syntax has these parts:

Part Description
object An object expression referencing to a vbSkinner object.
value A Boolean expression specifying whether the values of the skin selected will be saved to the registry, as described in Settings.


The settings for value are:

Value Description
True (Default) The values of the skin selected will be saved to the system registry.
False The values wont be saved.

The mentioned values are saved in the registry section of Visual Basic, with the key vbSkinner and with the exe application path. In the case of the skins loaded from a file or from the SkinPicture property, a file is saved in Windows\vbSkinner\[a application Id number].bmp

Note: When the Skin property is set to skAuto_ReadFromRegistry (0) it is not saved to the registry.


See also: Skin (property)
SkinPicture (property)
SaveValuesToRegistry (method)


ActiveX controls for Visual Basic 6 - homevbSkinner help main page Beginning   Go back Back