Home » Developer & Programmer » Forms » scanner (form6i,windowsxp)
scanner [message #567366] Sat, 29 September 2012 23:40
hisham99
Messages: 106
Registered: October 2008
Location: united arab emirates
Senior Member
i create a table
create table pr_doc
(dno number(Cool,---automatic serial number
dempno number(Cool,--employee number
dscan long raw,----picture
dext varchar2(3),--extension file
constraint doc_pk primary key(dno))
/
then i create a push button and i write this trigger
declare
bmp_image_dir varchar2(80) :='C:\album\';
photo_name varchar2(80);
v_img_brwzr varchar(500):='C:\windows\system32\wiaacmgr.exe';
convid pls_integer;
begin
convid := dde.app_begin(v_img_brwzr||' '||:ddir,dde.app_mode_maximized);
photo_name := '\convid.jpg';
:ddir:= bmp_image_dir||dno||'.jpg';
end;
every thin is working but my requirement is
1)as i said (dno) is an auto number ,i need when user scan photo name should be saved as dno .
2)is there is any way to control the size between (A4,and passport photo) ,i dont need user to change the size.
3)do we have a parameter for scaner as we have in printer,so i can manipulate it from forms.
i read every thing in this forums under scanner,but i cant find what i need
thanks for your help
Previous Topic: Data Block Wizard and Tab Canvas
Next Topic: How to create table in oulook mail through form
Goto Forum:
  


Current Time: Thu Jul 04 15:48:20 CDT 2024