I am using this code for when i scan more than one page in my application. if we click previous page button it shows previous page. but present i need code for next page.
If n_ImageCount > 1 Then
n_ImageCount = n_ImageCount - 1
cpapidrawimage PicImage.hWnd , g_Image(n_Image Count)
Else
MsgBox ("This is last page")
End If
If n_ImageCount > 1 Then
n_ImageCount = n_ImageCount - 1
cpapidrawimage PicImage.hWnd , g_Image(n_Image Count)
Else
MsgBox ("This is last page")
End If
Comment