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

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


Il 14/08/24 12:41, Bruce Steers ha scritto:
        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()


Hi Bruce,

first thanks for the lots of information.
The Database appears to populate but in reality the image field strings
remain empty, or at least it seems so.

My old brain needs a break to think, but if you find the solution of how
to get the image from DataControl6, you are welcome (see link for an
example)

https://paste.c-net.org/WhippedHoynes

Regards
Gianluigi


Follow-Ups:
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>
Re: While you're packing (some questions about gb.db2)Bruce Steers <bsteers4@xxxxxxxxx>