Converting an OLE Image Object from MS Access for use in .NET

后端 未结 5 1241
清歌不尽
清歌不尽 2020-12-20 18:06

I\'m working on redeveloping an Access based system into c#.net, however when MS went from office 2003 to office 2007 they removed the picture editor within access - which m

5条回答
  •  半阙折子戏
    2020-12-20 19:03

    Trying to retrieve an MS-access OLE image field from .NET is way more headache than it is worth. There is some good discussion and info about this topic in this post.

    Ultimately, your best, and easiest, solution to be successful with this is to use your working viewing method to save these images as separate files, then import those files into the database as BLOB fields, rather than image fields. Then you can easily read them into .NET.

提交回复
热议问题