On 2/14/07, Eric Richards <[EMAIL PROTECTED]> wrote:
Hi -I'm just playing around with VirtualVolume to see how it works and all and there are somethings I don't quite get yet. Lets say I have 10 items I wish to store in VV.(MyVirVol - file name) When I do this vv.Root.child("MData") is this where it gets stored? Do I need to change that for each item? (i.e. vv.Root.child("MData2") etc.. Now how do I get access to each item ? Lets say i want item 1's name or data, I'm not sure how to pull the stuff back out.
Think of your VirtualVolume file as a file system, and root is the highest directory you can access. I have an application whose file format is a bunch of different folders within the root, each of which may contain anywhere from one to several different files. I chose to organize it that way to keep it better organized from my perspective. The files could have all been stored within the root (i.e. no subfolders), instead, but I chose this way of doing it. It's totally up to you. So the way you get something out of a VirtualVolume file is to get the root FolderItem and then dig down from there to wherever you have saved your data in the structure you created. Hope that makes sense. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
