/Util/Executablefile AttachmentFunction:
Required plugins for this example: MBS Util Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Util/Executablefile Attachment
This example is the version from Fri, 25th Jun 2015.