I guess I should start with what I’m trying to accomplish and lead into my issue.
I’m writing an app that uses data from a CSV file and numerous images from a folder. None of this data will be editable by the user, and I would like the existence of these files to be transparent . Thus, no “open” dialog box to find and select the file(s). I’d like these files to “just be there” at the first use of the app.
My anticipated ‘solution’ based on reading the docs is to use SpecialFolder for this. I’ve read examples on how to access files from the special folder, and how to (programmatically) add files to the special folder. However, the piece I’m missing is that it seems to me I would want the physical folder mapped to Xojo’s “special folder” to be created and loaded during the “install” process. There is probably some documentation on this, but I feel like I’m not describing the issue adequately enough to find it. I would like to have a Windows as well as a Mac version of my app. With Windows, I suppose there’s the opportunity to create an “installer” to do this. On Mac, it seems a DMG containing the app bundle gets copied to the applications folder. In either case, I’m unsure as to how the special folder gets created and loaded prior to running the app. Is there a tutorial or on-line example of this somewhere?
Thanks
Gary
