Results 1 to 9 of 9

Thread: Twain Scanning in VB .Net

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2010
    Location
    Mumbai,India
    Posts
    4

    Twain Scanning in VB .Net

    Hello,

    I am trying to perform Twain scanning using the twain_32.dll, but no luck. Whatever solutions I have got call the dll GUI.

    I want to perform scanning by passing custom settings to the scanner for every scan. For eg. In duplex I want to scan the Front side in color & Back side in Grayscale.
    OR
    Scan every Alternate page as Color and B/W

    The combination can be anything. I've tried & and succeeded using WIA but it limited me to a certain extent.
    Can anyone help me with how to proceed using TWAIN and without displaying the GUI.
    I am open to options where a communication to Twain Connection Manager is established & commands are passed.

    Thank you in advance

  2. #2
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Twain Scanning in VB .Net

    Hi

    I see you found my post. First step would be to try to run the code.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  3. #3
    Frenzied Member MattP's Avatar
    Join Date
    Dec 2008
    Location
    WY
    Posts
    1,227
    This pattern in common to all great programmers I know: they're not experts in something as much as experts in becoming experts in something.

    The best programming advice I ever got was to spend my entire career becoming educable. And I suggest you do the same.

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2010
    Location
    Mumbai,India
    Posts
    4

    Re: Twain Scanning in VB .Net

    Hello MattP

    Thank you for you reply,
    My Concern is I am not able to set Auto page size for Documents. In addition to it there are many other options like Auto Deskew that I am not able to set using WIA. If you have a probable solution Please Help me

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2010
    Location
    Mumbai,India
    Posts
    4

    Re: Twain Scanning in VB .Net

    Hello MarMan,

    Thank you for your help. Can you please repost your Thread Link & Steps on how to use the code.
    I am using VB .Net as my programming language.

  6. #6
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,196

    Re: Twain Scanning in VB .Net

    You dug up a 10yr old post to make that social comment. lol
    Last edited by wes4dbt; Jul 16th, 2022 at 01:51 AM.

  7. #7
    Fanatic Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    532

    Re: Twain Scanning in VB .Net

    Quote Originally Posted by wes4dbt View Post
    You dug up a 10yr old post to make that social comment. lol
    I'm assuming you're referring to yourself, since I see you edited your comment.

  8. #8
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,196

    Re: Twain Scanning in VB .Net

    Quote Originally Posted by Peter Porter View Post
    I'm assuming you're referring to yourself, since I see you edited your comment.
    You lost me.

    Wait, I see the moderator removed the post. The edit was because my math sucked, I said 12yrs.

  9. #9
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,929

    Re: Twain Scanning in VB .Net

    Quote Originally Posted by wes4dbt View Post
    Wait, I see the moderator removed the post.
    That was me, my apologies for the confusion caused!

    There was spam amongst the nonsense post, so I toasted it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width