Kodak image scan control
Hi experts!
Am using a Kodak Image control to scan a image.
The code scans a small image without any problem.
But, on scanning a large image (11.66MB),
the scanning is not done. The events that are
fired in case of a large image are:
ScanStarted()
ScanUIDone()
After the above event is fired, all other events
are ignored and the control comes back to
ImScan.CloseScanner. It skips the PageDone, ScanDone events
and the scanning of the image is not done.
My code is as follows:
With ImgScan
.OpenScanner
.FileType = JPEG
.ShowSetupBeforeScan = True
.ScanTo = FileOnly
.Image = m_sImage
.StartScan
.CloseScanner
End With
Anyone who knows why this happens? PLease help me.
Its very urgent.
Thanks,
Spacy.
|