[Webinar] Streamline your web hosting managementRegister Today


twain32d.dll adf auto feed

Posted on 2008-01-27
Medium Priority
Last Modified: 2013-12-15
i use this code to acquaier 1 image only from scanne

"Private Declare Function TWAIN_AcquireToFilename Lib "TWAIN32d.DLL" (ByVal hwndApp As Long, ByVal bmpFileName As String) As Integer
Private Declare Function TWAIN_IsAvailable Lib "TWAIN32d.DLL" () As Long
Private Declare Function TWAIN_SelectImageSource Lib "TWAIN32d.DLL" (ByVal hwndApp As Long) As Long
Dim Ret As Long, PictureFile As String

PictureFile = Forms!SwetchBord!pblCurrentPath & BookID & ".pdf"

Ret = TWAIN_AcquireToFilename(Me.Hwnd, PictureFile)

If Ret = 0 Then
Me.ImagePath = BookID & ".pdf"
Me.MasterPic.Picture = Forms!SwetchBord!pblCurrentPath & Me.ImagePath
Me.btnInlarge.Enabled = True
strScanMaster = "Yes"
End If "

but i need to use adf scanner, auto feeder.
how can i do it with this twain32d.dll  if it possible ?
Question by:Mohammad Alsolaiman
  • 3
LVL 40

Expert Comment

by:Vadim Rapp
ID: 20761979
LVL 44

Expert Comment

ID: 20762709
LVL 44

Accepted Solution

GRayL earned 2000 total points
ID: 20768305
M_SOLAIMAN:  Any feedback?

Author Comment

by:Mohammad Alsolaiman
ID: 20768646
thanks to you all
i have a look for your posts
i am to busy now to test it
i'll try it As soon as possible "in shaa allah"
thanks again
LVL 44

Expert Comment

ID: 20787607
Thanks, glad to help, but didn't you mean to award the the reference I found for you instead of my question about feedback?

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Implementing simple internal controls in the Microsoft Access application.
Audit trails are very important in any system to hold people responsible for certain transactions and hold them to take ownership of their actions. This article is dedicated to all novice "Microsoft Access" developers.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

640 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question