SelectSource Example for Visual Basic

   Dim RasterTwain As LEADRasterTwain
   Dim nRet As Integer
   nRet = RasterTwain.SelectSource
   If (nRet <> 0) Then
      MsgBox "Error Selecting Source", vbExclamation
   End If