[Gambas-user] Hot to load and savbe to DB a binary file (not image either archive strings) (PICCORO McKAY Lenz) (Tobias Boege)

Bruce bbruen at ...2308...
Tue Jul 16 07:05:03 CEST 2013


On Mon, 2013-07-15 at 22:11 +0200, Tobias Boege wrote:
8<
> Picture files _are_ binary files. But anyways, to get this thread done, I
> have attached a sample project which lets you import and export binary
> files of any kind to a local SQLite3 database.
> 
> You should look carefully at the export functionality in btnExport_Click()
> which selects a record in the database table and saves the corresponding
> blob field to a file.
> 
> Everything else in the project is just there for you to play around with it.
> 
> Regards,
> Tobi

Hi Tobi,

At lines 72 and 106 in your example project you declare hBlob as Blob. I
have never heard of this datatype and can find no help on it?  If it
exists I sure would like to know it.

regards
Bruce





More information about the User mailing list