mich
Sep 3rd, 2003, 05:27 AM
I have a big problem with ole automation.
I'm using an application that stores files in a sql7 table(blob field) using the insert object window from microsoft. But when i try to extract the file from the database microsoft has added a header and tail to it and (ex: if a word document was embedded in the blob field, i extract the binary data from the blob and save it to a file but i can't open it with word->get an error). I know it has something to do with the ole automation of microsoft but i didn't manage to remove this header and tail.
I'm already searching for 2 weeks for a solution but nobody seems to be able to help me.
I'm using an application that stores files in a sql7 table(blob field) using the insert object window from microsoft. But when i try to extract the file from the database microsoft has added a header and tail to it and (ex: if a word document was embedded in the blob field, i extract the binary data from the blob and save it to a file but i can't open it with word->get an error). I know it has something to do with the ole automation of microsoft but i didn't manage to remove this header and tail.
I'm already searching for 2 weeks for a solution but nobody seems to be able to help me.