When saving a path as a string, I was told to use GetSaveInfo in conjunction
with Base64.
I honestly don't understand exactly what is going on here. I suspect that
when you decode the string, the path is not returned, but rather some other
sort of pointer:
Dim data as String
Dim InFolder as FolderItem
Dim fileStream as TextOutputStream
InFolder = Volume(0).Child("Some Folder")
// Write InFolder path to setup file.
data = InFolder.GetSaveInfo(NIL)
If InFolder <> nil then
InFolder = NIL
InFolder = GetFolderItem(data)
fileStream.Write EncodeBase64(data)
End If
To decode:
InFolder = GetFolderItem(DecodeBase64(rowFromFile))
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>