[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: While you're packing (some questions about gb.db2)


On Wed, 14 Aug 2024 at 11:21, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

>
>
> On Wed, 14 Aug 2024 at 11:11, Bruce Steers <bsteers4@xxxxxxxxx> wrote:
>
>>
>>
>> On Wed, 14 Aug 2024 at 12:10, Gianluigi <gradobag@xxxxxxxxxxx> wrote:
>>
>>> Il 14/08/24 11:58, Bruce Steers ha scritto:
>>> >
>>> >
>>> > On Wed, 14 Aug 2024 at 10:49, Bruce Steers <bsteers4@xxxxxxxxx
>>> > <mailto:bsteers4@xxxxxxxxx>> wrote:
>>> >
>>> >
>>> >
>>> >     On Wed, 14 Aug 2024 at 11:31, Gianluigi <gradobag@xxxxxxxxxxx
>>>
>> >     <mailto:gradobag@xxxxxxxxxxx>> wrote:
>>>
>> snip

>
>>> >         Hi Benoit,
>>> >
>>> >         I did as you suggested, but I still get the same error:
>>> >         Cannot create record: unrecognized token: "'‰PNG
>>> >         ^Z
>>> >         "       -1
>>> >
>>> >         What didn't I understand? See attached project link:
>>> >         https://paste.c-net.org/BalloonPavilion
>>> >         <https://paste.c-net.org/BalloonPavilion>
>>> >
>>> >         Regards
>>> >         Gianluigi
>>> >
>>
>>
>> Sure.
>>
>> I found this works also without error
>>
>>     aByte = Byte[].FromString(File.Load(sPath))
>>     hResult!image = aByte.ToString()
>>
>
> hmm, this is odd.
>
> I found the following works...
>     hResult!image = aByte.ToString(0, aByte.Bounds.Count)
>

nope , shut me up lol.
  aByte.Bounds.Count is 1 , aByte.Bounds[0] is the Length value and fails
as well.

but what does "seem" to work is not supplying the start or length data and
let it use the default

    hResult!image = aByte.ToString()

Follow-Ups:
Re: While you're packing (some questions about gb.db2)Fabien Bodard <gambas.fr@xxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Gianluigi <gradobag@xxxxxxxxxxx>
References:
While you're packing (some questions about gb.db2)Gianluigi <gradobag@xxxxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Gianluigi <gradobag@xxxxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Gianluigi <gradobag@xxxxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Bruce Steers <bsteers4@xxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Bruce Steers <bsteers4@xxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Gianluigi <gradobag@xxxxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Bruce Steers <bsteers4@xxxxxxxxx>
Re: While you're packing (some questions about gb.db2)Bruce Steers <bsteers4@xxxxxxxxx>