- This topic has 1 reply, 1 voice, and was last updated 4 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Classic › Canon Scanner ScanGear, Scan button not respond, but preview button is working
Hi :
Very strange issue, when I invoke the Canon ScanGear using .Net program
ScanGear “Scan” button does not working.
The preview Button is still work.
Also this function return immediately which should not if GUI set to Module UI
p_oGUI = New Twain.TwUserInterface()
With p_oGUI
.ShowUI = p_siShowTwainUI
.ModalUI = 1
.ParentHand = p_ptrParentApp
End With
Twain.Win32.DSuserif(p_oApp, p_oDataSource, Twain.TwDG.Control, Twain.TwDAT.UserInterface, Twain.TwMSG.EnableDS, p_oGUI)
anyone have some idea of this behavior ?
Thanks.
This is related to Canon ScanGear only, other type/brand of Scanner works fine with this code.
https://www.codeproject.com/Articles/991207/TWAINComm-A-Csharp-TWAIN-Communications-Library