by Rodney Safe Computing (Tiger Software) (6 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (10 Votes)
This OCX will helps you to retrieve all types of images supported by the Visual Basic Picture box in one line of code. It save it to- and read it from an access database. It support Ado and DAO.
You can browse for photo images on your harddisk with the filebrowser included into the OCX. This browser also remember the last directory.
This code is well commented. Just click on the ocx, drag it on a form and start programming.
This code has not been tested on SQL server jet.
I've included a sample application to show you how it works. I hope it will be an attribute to your programming needs. For any comment mail me at [email protected]
Have Fun.
Rodney Godfried
Inputs
Database field name where the photo image has to be saved or readed
Assumes
You need ADO 2.1 or later and Microsoft DAO 2.5/3.51 compatibility Library or later, Selected in the references dialog box.
Code Returns
The image
Download Photo Access (49 KB)