Twain scanner.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shawn

    #1

    Twain scanner.

    I have a need to use a twain scanner to get images for my application. I
    found a good sample for C#.NET, but I'm having a hard time adapting it to
    VB.NET. Does anyone know of a good place to look for sample code?


  • Tom Shelton

    #2
    Re: Twain scanner.

    On Oct 28, 6:27 pm, "Shawn" <shawn.cam...@c cci.orgwrote:
    I have a need to use a twain scanner to get images for my application. I
    found a good sample for C#.NET, but I'm having a hard time adapting it to
    VB.NET. Does anyone know of a good place to look for sample code?
    What part of adapting the C# code are you having trouble with? Can
    you post a link to the C# sample.

    --
    Tom Shelton

    Comment

    • Shawn

      #3
      Re: Twain scanner.

      Well, I am having several issues. I am able to get it to compile without
      errors, but the events are not raised properly even if I try to add the
      handlers plus I just don't work with C# very often, and my whole app is VB,
      so I would really like to find a sample in VB to start with.

      "Tom Shelton" <tom_shelton@co mcast.netwrote in message
      news:1193618158 .669509.283080@ 57g2000hsv.goog legroups.com...
      On Oct 28, 6:27 pm, "Shawn" <shawn.cam...@c cci.orgwrote:
      >I have a need to use a twain scanner to get images for my application. I
      >found a good sample for C#.NET, but I'm having a hard time adapting it to
      >VB.NET. Does anyone know of a good place to look for sample code?
      >
      What part of adapting the C# code are you having trouble with? Can
      you post a link to the C# sample.
      >
      --
      Tom Shelton
      >

      Comment

      • Michael C

        #4
        Re: Twain scanner.

        "Shawn" <shawn.camner@c cci.orgwrote in message
        news:OlBpNTcGIH A.284@TK2MSFTNG P02.phx.gbl...
        Well, I am having several issues. I am able to get it to compile without
        errors, but the events are not raised properly even if I try to add the
        handlers plus I just don't work with C# very often, and my whole app is
        VB, so I would really like to find a sample in VB to start with.
        You're FAR better off learning how to translate it to VB or learning how to
        work in C#. If you work in C# you can compile it to a dll. Going from VB.net
        to C# is very easy. The events are the only bit that is difficult. The
        majority of the samples you'll find on the net will be in C#.

        Michael


        Comment

        Working...