ActiveX control for scanner [message #82105] |
Wed, 23 April 2003 02:36 |
Vimala
Messages: 3 Registered: December 2001
|
Junior Member |
|
|
Could someone suggest me how to activate a scanner from Forms 6i using activex. I have not used activex controls in forms so please suggest me what steps to be followed.
I have to invoke the scanner and store the image into database.
|
|
|
Re: ActiveX control for scanner [message #82109 is a reply to message #82105] |
Wed, 23 April 2003 07:43 |
SHANKAR.K.
Messages: 7 Registered: April 2003
|
Junior Member |
|
|
Place an OCX item into the canvas
and right click on it using the mouse and select insert
object from the list of controls select kodak image scan control and click ok,
( if this control is not available, pls make sure that
you have installed Imaging for windows )
you will see that the ocx item has changed to
scanner like button
now click on program in the menu bar and select
import ole library interface
list of ole classes will be displayed from that select
Imaging.ScanCtrl.1 or Imaging.Scanctrl
and below that you can find the methods and events listed select all and click ok
now go to the object navigator and you can see some
package, procedure and function would have been created
in the program units directory.
Call those program, passing the required parameters
and scanning works well.
In case you want to know the program code also
mail to
mail4shankar@rediffmail.com
|
|
|
Re: ActiveX control for scanner [message #82132 is a reply to message #82109] |
Sat, 26 April 2003 00:03 |
Vimala
Messages: 3 Registered: December 2001
|
Junior Member |
|
|
Thanks
I tried till the importing the ole library interface but after that I was not able to proceed. If there is sample code could you please mail me.
Regards
Vimala
|
|
|
Re: ActiveX control for scanner [message #85456 is a reply to message #82109] |
Tue, 29 June 2004 00:29 |
CMARTINEZ
Messages: 1 Registered: June 2004
|
Junior Member |
|
|
Can I have any code example for the calls to the library programs?
I need open the scanner and save the returned image (jpeg) into filesystem directory. Then I will save it in a BLOB column.
Thank you in advance and sorry by my English.
Carlos
|
|
|