It was built with GdPicture.Net 8, version 184.108.40.206
There is a sub as follows:
Code: Select all
Private Sub fillDevices() Dim oGdPictureImaging As New GdPictureImaging ' AddHandler oGdPictureImaging.OCRTesseractProgress, AddressOf _ProgressEvent For i As Integer = 1 To oGdPictureImaging.TwainGetSourceCount(Me.Handle) _dropDevice.Items.Add(oGdPictureImaging.TwainGetSourceName(Me.Handle, i)) Next _dropDevice.SelectedIndex = 0 End Sub
InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
SelectedIndex = -1, which means that there are no items in the collection.
It is a VB.Net app targeted to the X86 platform.
How do I fix this?