How to save an image on a image control to a file or to a bl

Posted by wenyu on 07-Aug-2014 10:25

I have an input parameter, a com-handle to an Image control, the same kind of com-handle generated by load-picture(). I don't have access to the source image file.

How do I save the image either in file, to a drawing control or a blob field?

Many thanks,

Wenyu

All Replies

Posted by Peter Judge on 07-Aug-2014 10:37

Take a look at the COPY-LOB statement for saving to a file.
 
Depending on which Image control you are using, there may be a method that allows you to extract the bytes.
 
-- peter
 
[collapse]
From: wenyu [mailto:bounce-wenyu@community.progress.com]
Sent: Thursday, 07 August, 2014 11:27
To: TU.OE.Development@community.progress.com
Subject: [Technical Users - OE Development] How to save an image on a image control to a file or to a blob field?
 
Thread created by wenyu

I have an input parameter, a com-handle to an Image control, the same kind of com-handle generated by load-picture(). I don't have access to the source image file.

How do I save the image either in file, to a drawing control or a blob field?

Many thanks,

Wenyu

Stop receiving emails on this subject.

Flag this post as spam/abuse.

[/collapse]

Posted by wenyu on 07-Aug-2014 10:56

It's a VB picture box. Thank you for helping.

Wenyu

This thread is closed