VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

modBDimg

Manuel Fernandez  (3 Submissions)   Databases/Data Access/DAO/ADO   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

VB module to read and store ANY kind of picture file pictureboxes support into a database, it's easy and it's pretty fast... please, rate it, any comments are wellcome

Inputs
FileName: Name of the picture file to store rsImg: recordset with a memo field FieldName: Name of the memo field to use

Returns
SaveImage: Nothing ReadImage: An IPictureDisp object assignable to a picturebox or image

Side Effects
uses temporary storage

API Declarations
Private Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long

Rate modBDimg (4(4 Vote))
modBDimg.bas

modBDimg Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters