What i did is..
Place an activeX control in the form
right click on it and select insert object
select kodak image scan control.
From the program menu import the ole library inerfaces for the kodak image scan control.
place an image item on the form to which the scanned image is to be displayed.This item should be a database item of type long raw.
in when_button_pressed trigger of a button write the code
:global.x:=:item('identity_pass.ACTIVEX_CONTROL10').interface;
Imaging_DImgScan.FileType(:global.x, 3);
Imaging_DImgScan.Image(:global.x, 'C:\album\123.bmp');
:global.a:=Imaging_DImgScan.OpenScanner(:global.x);
:global.c:=Imaging_DImgScan.StartScan(:global.x);
:global.d:=Imaging_DImgScan.StopScan(:global.x);
:global.e:=Imaging_DImgScan.CloseScanner(:global.x);
READ_IMAGE_FILE('C:\album\123.bmp','BMP', 'identity_pass.photo');
ORA-100504 error on :global.c:=Imaging_DImgScan.StartScan(:global.x);
Please help.
Thanks in advance