[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Blob in Gambas 3.20
[Thread Prev] | [Thread Next]
- Subject: Re: Using Blob in Gambas 3.20
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Wed, 22 Jan 2025 18:44:04 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 22/01/2025 à 16:48, Safiur Rahman a écrit :
Hi I have upgraded to Gambas 3.20. The wiki saysThe Blob class has been removed. Blob fields are now accessed exactly like string fields. (https://gambaswiki.org/wiki/comp/gb.db2 <https://gambaswiki.org/wiki/ comp/gb.db2>)I have been using Blob as Dim hFile As Blob hFile = res["fldimage"] If hFile.Length Then File.Save(tempFile, hFile.Data) EndifCan you provide a procedure which allows me to use Blob in gambas 3.20 without replacing Blob present in around a hundred locations?-- Regards Safiur Rahman
It's possible to write a wrapper class, which automatically converts from a string and to a string, but not in Gambas.
I will see what I can do.Otherwise, you don't have to use 'gb.db2' in your old projects. 'gb.db' is still there.
Regards, -- Benoît Minisini.
Using Blob in Gambas 3.20 | Safiur Rahman <isafiur@xxxxxxxxx> |