TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Reply To: .NET Application.Run and ShowDialog problem

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
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

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

Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in