Is there a way to insert any binary file (like .zip) into RVF and show only icon of inserted file with possibility to save this file back to disk ?
And inserted file must be saved inside RVF.
Insert any binary file into richviewedit...
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
You should do it yourself. Create an icon-picture item and store the file in its tag.
Tag strings cannot contain arbitrary binary content (#0, #10 and #13 characters must not occur). So you must encode it somehow. For example, use hexadecomal encoding (each byte is saved as a hexadecimal digit (2 characters)), or base64 (less size)
Tag strings cannot contain arbitrary binary content (#0, #10 and #13 characters must not occur). So you must encode it somehow. For example, use hexadecomal encoding (each byte is saved as a hexadecimal digit (2 characters)), or base64 (less size)