Re: Problem with write binary data to OLE field in Access

2008-03-28 Thread KingMax
On 3月27日, 下午7时22分, Tim Golden [EMAIL PROTECTED] wrote: lialie wrote: [... snip slightly confused indication that reading back a binary item using GetChunk appears to double its length ...] Well I don't know why this should be happening, but I do at least have a few suggestions: 1) Try

Re: Problem with write binary data to OLE field in Access

2008-03-27 Thread Tim Golden
lialie wrote: [... snip slightly confused indication that reading back a binary item using GetChunk appears to double its length ...] Well I don't know why this should be happening, but I do at least have a few suggestions: 1) Try using ADODB.Stream instead of GetChunk etc. 2) Try using the

Problem with write binary data to OLE field in Access

2008-03-26 Thread lialie
Hi~ I would like to save images in OLE field in Microsoft Access. It writes the binary data which read from an JPEG/BMP file. But seems I meet an encoding problem. The following code demos that. Any sugguestion? --- import