I'm writing an updater program which uses an access database internally. In this database I store a couple of text files as OLE objects.
I want to read out the content of those files in my program using an oledbadapter, but i can't find out how to parse the object.
My current approach:
- Executing an sql query which selects the OLE objects
- Store the object as byte array ( as there is no such thing as a "reader.GetOLEObject()"
- Strip the package header, strip the OLE header
Unfortunately, their still seems to be some other junk in front of my text file content.
Any suggestions?