The paths used for voice files and log files are the paths specified in vbvoice.ini (settings VOICE and LOGS). If the paths set in the VBVFrame control differ from the INI file settings when the EXE is created, then the voice and logs directories are handled differently.
For voice files, VBVoicetries to find the file using the path set in the project. If the file is not found, the path set in the .INI file is used. For log files, the path set in the .INI file is always used to select the log file path.
If relative path names are specified for the log and project voice directories, these paths are used relative to the directories set in vbvoice.ini. If complete path names are set: for example, c:\myapp or \\Mike\c\myapp, these paths are used. If a file is not found in the project voice directory, the system directory is searched. This allows one copy of the system phrase files to be shared across different applications, but each application or project can have its own voice files in a separate location.
The paths can be changed at runtime before StartSystem is called using the LineGroup properties.
Data controls by default use a hard-coded file path unless they are set at runtime.