Error when trying to save a BMP file from image control in an Access 97 db 
Author Message
 Error when trying to save a BMP file from image control in an Access 97 db
Good day, when I try to save a BMP file stored in an image control into an
Access 97, I receive the following error message:

"Error #3241"
"An error occured while trying to do data type conversion"

Anyone knows how to do this datatype conversion ?

Waiting for an answer

Daniel Caron




Sat, 12 Feb 2005 00:45:26 GMT  
 Error when trying to save a BMP file from image control in an Access 97 db
Daniel:

You may want to review the following tip:

Some months ago I wrote a tip of the month that I call 'Store then Retrieve
a File from a Jet Database Field'. Link to http://www.buygold.net/tips then
look for the October 2000 tip of the month. A sample program is provided.
From the tip's intro:

  I recently had a requirement to store a picture in a Jet [Access]
database. I had never done this before so I posted a question in a couple of
the news groups. I got suggestions on how to store the picture but I didn't
get any real code - so I wrote some VB code to test the suggestions. I
generalized the code, encapsulated it in a DLL, and decided to make it the
October tip-of-the-month.

Cheers,
Larry Rebich

More tips link to:
http://www.buygold.net/tips

Please:
No personal e-mail questions :-)


Quote:
> Good day, when I try to save a BMP file stored in an image control into an
> Access 97, I receive the following error message:

> "Error #3241"
> "An error occured while trying to do data type conversion"

> Anyone knows how to do this datatype conversion ?

> Waiting for an answer

> Daniel Caron




Sat, 12 Feb 2005 09:53:33 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. VB & Access DB image (bmp) files

2. Saving Image or PictureBox control's contents to file (BMP/JPG etc)

3. Saving Images into DB (BMP is too big)

4. Error accessing Access 97 DB

5. Saving embedded word 97 docs in Access db with linked SQL Server tables

6. Convert Access 97 db to Access 2000 db in VB6

7. Using a Data Control in VB5 accessing a user-level secure Access 97 DB

8. Converting Access 2.0 DB to Access 97 DB in VB code

9. Saving BMP Images from VB 4.0 to Access

10. Saving BMP Image to a File

11. Saving BMP files in SQL Server image fields

12. how to save image controls to an bmp

 

 
Powered by phpBB® Forum Software