From MediaMonkey Wiki
Revision as of 00:23, 18 July 2009 by Twinbee (talk | contribs) (Added info to avoid using Flush on versions of MM prior to build 1214)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CoClass SDBIniFile, Interface ISDBIniFile

Sub Flush

Method description

Saves all changes made to the ini file to disk. This is automatically done by MediaMonkey when all instances of the ini file (i.e. in all scripts!) are destroyed. You can call this for additional safety, when needed.

Introduced in MediaMonkey

Example code

One may wish to use code such as the following VBS script code to avoid the Flush command being executed on versions prior to MediaMonkey build 1214:

If SDB.VersionBuild >= 1214 Then myIniFile.Flush

(change myIniFile to whatever else of course)