scanning Multiple pages into MS Access 2K

M

matt

I'm using this to scan Multiple pages into Access 2k :-

Call KillTempFile
strTempFile = TempFile(False, "scan")
Me.scanControl.MultiPage = True
Me.scanControl.ScanTo = FileOnly
Me.scanControl.Image = strTempFile
Me.scanControl.StartScan


I can't save multiple pages as a JPG. I dont mind saving them
separately but I can't at them moment but I don't know how? It doest
work when saving single pages. It works ok saving them as .tif files,
but they are way too big. This is the code I'm using.

Me.ScanAdmin.Image = Me.scanEdit.Image
Me.ScanAdmin.CancelError = False
strInputFileName = "c:\Test.jpg"
Me.scanEdit.SaveAs strInputFileName, 6


Also, is it possible to save them as a PDF. Any idea's welcome!

TIA Matt
 
Top