FileStart Event
    
 

Description

Fires when component finds "<>" tags in config file.


Syntax

Private Sub object_ReplaceIfConfig(Text)



The ReplaceIfConfig Event syntax has these parts:

Part Description
object A wodAppUpdate object.
Text A String object. Holds String values found.

Remarks

ReplaceIfConfig event fires when component finds "<>" tags in config file. The event is triggered after Check method is executed, but before CheckDone event is fired. Text parameter will hold each value found in between the "<>" tags.

Each value found between the tags will be separated by a newline constant. This event is very useful if you wish to change certain parts of configuration file *on the fly*.

I.e. if config file contains:

Path=<MyCustomPathVariable>\somefile.ext

ReplaceIfConfig event will be triggered with Text parameter containing "MyCustomPathVariable". At that time, you can replace this with your custom path, and component will use it instead.