D
Darren Shaffer
All,
I'm struggling with bitmaps and byte arrays today. I'm using the OpenNetCF
Signature control and save the byte[] representing the signature into
SQLMobile.
If I read this byte[] from SQLMobile on device, I can reconstitute the
signature back
into the OpenNetCF Signature control with no issue.
If I replicate the table containing the signature byte[] to Yukon, I cannot
seem to
reconstitute the byte[] into a Bitmap that can be shown in a Full .NET
Framework
PictureBox on the desktop. I notice that on device, the SQLMobile image
column
represents the byte[] as F00000....
and after replicating to Yukon, the same image column looks like:
0xF00000...
I think I'm missing the Bitmap header information as Alex has explained in
responding to a few posts,
but wouldn't that info have to be written on device before replicating to
the desktop? Most examples
of this deal with writing the Bitmap on device to a local file and calling
it good, but I need to resolve
the bitmap to an Image column in SQLMobile in such a way that it can be
reconstituted in a
desktop application.
Thank you.
I'm struggling with bitmaps and byte arrays today. I'm using the OpenNetCF
Signature control and save the byte[] representing the signature into
SQLMobile.
If I read this byte[] from SQLMobile on device, I can reconstitute the
signature back
into the OpenNetCF Signature control with no issue.
If I replicate the table containing the signature byte[] to Yukon, I cannot
seem to
reconstitute the byte[] into a Bitmap that can be shown in a Full .NET
Framework
PictureBox on the desktop. I notice that on device, the SQLMobile image
column
represents the byte[] as F00000....
and after replicating to Yukon, the same image column looks like:
0xF00000...
I think I'm missing the Bitmap header information as Alex has explained in
responding to a few posts,
but wouldn't that info have to be written on device before replicating to
the desktop? Most examples
of this deal with writing the Bitmap on device to a local file and calling
it good, but I need to resolve
the bitmap to an Image column in SQLMobile in such a way that it can be
reconstituted in a
desktop application.
Thank you.