scanning from oracle forms [message #122143] |
Fri, 03 June 2005 05:39 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
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 Go to previous message](/forum/theme/orafaq/images/up.png) |
fahedakhter
Messages: 39 Registered: March 2005 Location: Pakistan
|
Member |
![fahedakhter](/forum/theme/orafaq/images/yahoo.png)
|
|
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.
|
|
|