BLOB

Joakim Schramm joakim at astrocalc.com
Sun Nov 26 20:28:42 CST 2006


 

> -----Original Message-----
> From: valentina-bounces at lists.macserve.net 
> [mailto:valentina-bounces at lists.macserve.net] On Behalf Of 
> Ruslan Zasukhin
> Sent: 26 November 2006 20:10
> To: valentina at lists.macserve.net
> Subject: Re: BLOB
> 
> On 11/26/06 6:40 PM, "Joakim Schramm" <joakim at astrocalc.com> wrote:
> 
> Hi Joakim,
> 
> > Hi,
> > 
> > I was wondering... I have never used BLOB fileds (except for text) 
> > before, is it possible to store a Variant varible/Array into a BLOB 
> > field and later read it back getting correct data?
> > 
> > As it's binary it should at least theoretically work...
> > 
> right

> 
> > I got an idea with my app but before I spend time on it thought it 
> > better to ask first if this specific part possibly would 
> work or if the is a big no no?
> 
> VB6 as I remember have hard work with raw memory.
> 
Well VB6 can be extended :-)
> As I remember, for VCOM implemented storing into BLOB of ByteArray.
> Please check our examples. Should be one on this.

There is on VBLOB.FromFile/ToFile but not on read/Write raw data, as of what
I have found anyway.
Would be noice if you could fix one for next beta/release

> 
> Possible also work via disk file, using VBLOB.FromFile()  
> ToFile() methods.

I thought of avoid this. I know that in VB you can put a var to a file as
binary and read it back getting it correct but it would erase the point with
my idea :-)

Well I will go for my old format for now, but if you could check up on how
BLOB is implemented in VCOM and do an example with Read/WriteData it would
be great. I have DLL with many functions to deal with binary data in VB,
just don't know which to use as I don't know how the stoarage format is
composed.

Regards,
Joakim
> 
> --
> Best regards,
> 
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
> 
> Valentina - Joining Worlds of Information http://www.paradigmasoft.com
> 
> [I feel the need: the need for speed]
> 
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 



More information about the Valentina mailing list