Home » Developer & Programmer » Forms » scanning from oracle forms
scanning from oracle forms [message #122143] Fri, 03 June 2005 05:39 Go to next message
tumediso
Messages: 3
Registered: April 2005
Junior Member
Hi,

I want to link my scanning device to an Oracle Forms 6i application. Using the OLE2 package raises an ORA-305500 error. Does anyone know how to do it?
This is teh code I am using:
DECLARE
objhpscan OLE2.OBJ_TYPE;
objscan OLE2.OBJ_TYPE;
objArg OLE2.LIST_TYPE;

BEGIN
objhpscan := OLE2.CREATE_OBJ('c:\program files\hewlett-packard\digital imaging\bin\hpqscnvw.Application');


objarg := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(objarg,0);
objscan := OLE2.INVOKE_OBJ(objhpscan,'CreateItem',objarg);
OLE2.DESTROY_ARGLIST(objarg);
END;


pls help.
Re: scanning from oracle forms [message #122196 is a reply to message #122143] Fri, 03 June 2005 12:43 Go to previous message
fahedakhter
Messages: 39
Registered: March 2005
Location: Pakistan
Member

I recomend you use activex control for that purpose.All software control installed to machine automatically available in activex you draw active x.Import library and perform your task.I don't have scannig device that's why I cannot provide you code.
Previous Topic: Download file through ftp with wininet.dll
Next Topic: ... Help for Next_Record
Goto Forum:
  


Current Time: Fri Sep 20 05:34:11 CDT 2024