Sample VB Code for Launching RJS Imaging Scan Workstation from a VB Process - Support

Sample VB Code for Launching RJS Imaging Scan Workstation from a VB Process

From Support

Jump to: navigation, search

Dim objScan as Object

'********************************************************** 'Load RJS Imaging Scan Workstation '********************************************************** Set objScan = CreateObject("RJSImageScanWorkstation.CLSRJSImageScan")

'********************************************************** 'Set temp file and start scanning '********************************************************** With objScan

   .SaveAsFileName = "C:\RJSTEMPIMAGE.TIF"
   .OLEServerMode = True
   .AppTitle = ""
   .scanimage

End With

'********************************************************** 'Display OCR Results '********************************************************** MsgBox objScan.ocrdata

Personal tools