Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Parsing Access database OLE object in C#

$
0
0

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?


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>