-
Vb6 retrieving .doc .xls files from blob field in mySql doesn't work
Hi, can anybody help me on this?
I have a VB6 front-end with a MySql back-end database. I stored word and excel files (.doc and .xls) as blobs in a table. I used ado file stream. When I store and retrieve image files, jpg, bmp, wmf, or PDF, everything is fine. But when I store and retrieve .doc/.xls files, the retrieved files can't not be opened. I have been working on this one word file, the original file is 69kb, the retrieved file is 64kb. When I open them both in note pad, the gibberish codes of the two start the same with the retrieved file lost some (the 5kb) at the end of the file.
When I manually save the blob field of the table into file, same result, a 64kb file saved a folder and can't be opened.
Thanks a lot if any guru can enlighten me on this.
Similar Threads
-
By fredrick in forum Java
Replies: 1
Last Post: 01-11-2010, 01:13 PM
-
Replies: 12
Last Post: 09-26-2009, 03:46 AM
-
By JochenKlein in forum Java
Replies: 4
Last Post: 06-02-2006, 05:09 AM
-
By deep_ar78 in forum Java
Replies: 0
Last Post: 12-08-2003, 12:55 AM
-
By Antonio Núñez in forum VB Classic
Replies: 3
Last Post: 04-26-2001, 04:24 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|