Forum Replies Created
- AuthorPosts
if you want to use twain32d.dll (notice the extra D) its free and not a problem to use in a corporate environment. the call is this
select source
‘make this declaration
Private Declare Function TWAIN_SelectImageSource Lib “twain32d.dll” (ByVal hwndApp As Long) As Long‘this is the function you would asign to a button
TWAIN_SelectImageSource Me.hWndheres how to get it to save to file
‘make these declarations
Private Declare Function TWAIN_AcquireToFilename Lib “twain32d.dll” (ByVal hwndApp As Long, ByVal bmpFileName As String) As Integer
Private Declare Sub TWAIN_SetHideUI Lib “twain32d.dll” (ByVal fHide As Long)
‘then heres how to make it scan without showing the ui add this to a button
Call TWAIN_SetHideUI(1)Call TWAIN_AcquireToFilename(Me.hWnd, “c:ScannedImage.bmp”)
twain32d.dll was hard for me to find, but if you need it ill email it to you.
also if anyone out there knows how to make it scan multiple pages, i need some help with that.
thanks
- AuthorPosts