Forums › TWAIN Classic › .NET Application.Run and ShowDialog problem › Reply To: .NET Application.Run and ShowDialog problem
June 13, 2006 at 11:50 am
#23408
sounds like the same problem I recently had with my vb.net 2005 library when I run it from the console. The issue was message pump/thread related. I’ve got it worked out in vb.net for my private library, and should have the gotdotnet workspace updated within a week with a working sample that can acquire from the command line and that deals with the problem you’re having. the short answer (well, … the oner i used) is to open the twain lirary on a thread that isn’t your UI thread, and use thread.Join after you enableDs or enable DsUiOnly.
gabe