V4RB:NEW VBLOB .FromFile() / ToFile()

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Aug 12 21:07:03 CDT 2004


Added 2 new methods.

    VBLOB.FromFile( location as FolderItem )
    VBLOB.ToFile( location as FolderItem )


This function allow you easy LOAD/UNLOAD disk file into BLOB record.

It store only content of file.
But not its name and path.
Because usually you will want unload file on other computer into other
location.

I think it will be reasonable always use in pair a String field, that will
contain NAME of that file (may be partial path.)


LIMITS:

* not store resource fork of MacOS  file
* not store yet additional info (flags, creator/type, ...)


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list