VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Save .BMP to Access database

by Craig Boland (1 Submission)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

This code will save and retrieve bitmap graphic files from an OLE Object field inan Access 97 database. The same principle applies to earlier versions of Access/VB, but I haven't tested them. You'll need to use the appropriate DAO library. Let me know if you find a way to save other graphic formats.

Inputs
A bit map graphic (selected by dialog box).
Assumes
This is an Access 97 database, so you'll need the library, DAO 3.51 or later.
Code Returns
An IPictureDisp object to be loaded into a PictureBox.
Side Effects
Only works with bitmaps.

Rate Save .BMP to Access database

Download Save .BMP to Access database

Download Save .BMP to Access database (102 KB)

Save .BMP to Access database Comments

No comments have been posted about Save .BMP to Access database. Why not be the first to post a comment about Save .BMP to Access database.

Post your comment

Subject:
Message:
0/1000 characters