
HLP: Copying binary file to field
Quote:
> I'm trying to copy the contents of a binary file to a database field.
> I am able to read data from an accompanying text file and store that
> data to the database. However I have no idea how to read the large
> binary file nor do I have a clue as to how to write it to the database
> once I have read it in. The size of the file could be as larger as 16KB.
> I know of no data type that can hold that much data. (Such as a malloc()/
> pointer combo in C/C++)
> Any help will be appreciated...
> BTW. I'm using Visual Basic 4.0
> Thanx in advance
> Andre
If you can get the file (binary) into a string variable, that's your
first goal as I see it. Then, if you are storing it into a memo field,
then check out the AppendChunk method for more info.