Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ora-100504 while trying to scan using web cam

Vineeth.KPJun 24 2015 — edited Jul 2 2015

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2015
Added on Jun 24 2015
3 comments
1,144 views