G
Guest
Hi Space
After searching the whole web I hope someone here can help me to find a solution. I need to convert OLE-Object fields from an legacy Access DB back to normal, plain files. I have no problem to extract the "raw" OLE-Object data (= OLE-Header + Filedata) and store it as file (I'm using an OleDbDataReader).
My problem is, that I can't find a solution to get rid of the OLE-Header! Since I have found the statement "Because the definition of OLE object storage is not documented, ..." in the MS KB, I'm a little afraid ..
One other problem ist, that this OLE-Object filed does not only contain only one type of file (e.g. Bitmaps), instead it can be ANY type (e.g. .doc, .xls, .txt, .bmp, .dxf, ...).(So just searching for the header of the specific filetype is not an option.
Hope someone can point me to a solution for this problem. (Which I have found out is a common problem for several other programers on the web, too.
Thanks for any hel
Chri
After searching the whole web I hope someone here can help me to find a solution. I need to convert OLE-Object fields from an legacy Access DB back to normal, plain files. I have no problem to extract the "raw" OLE-Object data (= OLE-Header + Filedata) and store it as file (I'm using an OleDbDataReader).
My problem is, that I can't find a solution to get rid of the OLE-Header! Since I have found the statement "Because the definition of OLE object storage is not documented, ..." in the MS KB, I'm a little afraid ..
One other problem ist, that this OLE-Object filed does not only contain only one type of file (e.g. Bitmaps), instead it can be ANY type (e.g. .doc, .xls, .txt, .bmp, .dxf, ...).(So just searching for the header of the specific filetype is not an option.
Hope someone can point me to a solution for this problem. (Which I have found out is a common problem for several other programers on the web, too.
Thanks for any hel
Chri