Le 8 oct. 06 à 19:36 Soir, Jeff Justice a écrit:
I have an app that keeps several data files. Is there a way for me
to bundle these so they appear as one file to the user? Then if I
can do this, how do I then access the files through RB?
The app I wrote keeps the data files in the same folder as itself,
but it's getting quite cluttered and unsightly.
On Mac OS X, if you make a new folder named with the extension
".bundle", it appear as a... well, bundle.
Then, from RB, you use the file as a folder, e.g: f=GetFolderItem
("").child("Data.bundle").child("MyFile").
However, if you want to make it crossplatform, you may take a look at
the VirtualVolume class (in the RB online help, for example).
You make a virtualVolume (since it is a specific-RB component, you
create it once using your own application, you store your files in
this VirtualVolume (you may also add methods to remove, add and
modify them, as a debug-only feature))._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>