README.md

December 4, 2022 ยท View on GitHub

Get/Save Binary Object To Database

Description

Save binary objects to a DAO database, eg: pictures, exe files, dll's etz. Its a generic class module that allows saving/extracting from any access database. Also gets additional fileds if required for example a persons name if it was stored in the same table

More Info

KillFile- Kill the file if its present

ObjectKeyFieldName- key field name to the database

ObjectTableName- table name holding the bin object

ObjectKey - binary object key to extract

SubFieldData - other field data to extract/save

SubFieldNames- other field names to extract/save

ObjectFieldName- field holding the binary object

DB- database holding the binary object table

BlockSize- block size to use

FileName- filename to extract to or import from

FileName - returns file name if it was changed

eg: temp file was used

ReturnData - returns a variant array of the aditional database fields that were requested

none known

Submitted On2001-03-23 18:19:44
ByTom Brennfleck
LevelIntermediate
User Rating5.0 (55 globes from 11 users)
CompatibilityVB 4.0 (32-bit), VB 5.0, VB 6.0
CategoryDatabases/ Data Access/ DAO/ ADO
WorldVisual Basic
Archive FileCODE_UPLOAD174483232001.zip

API Declarations

Private Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
Private Declare Function GetTempFileName Lib "kernel32" Alias "GetTempFileNameA" (ByVal lpszPath As String, ByVal lpPrefixString As String, ByVal wUnique As Long, ByVal lpTempFileName As String) As Long