Results 1 to 6 of 6

Thread: testing for scanners

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982

    Post

    I am writing a program for my uni project which will need to comunicate with a scanner. How can I do this in VB?

    Please help.

    ------------------

  2. #2
    New Member
    Join Date
    Jan 1999
    Location
    Wilmington,MA
    Posts
    2

    Post

    Give a bit more info...
    What do u mean by 'communicating with scanner'

    What are you trying to do?? exactly??

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982

    Post

    I am attempting to write a data bound ActiveX control which when the user presses the button will activate the scanner, scan in a document and save the image to an SQL database. The part I am trying to find out how to do is the scanning side without using the wang ImgScan controls.
    1. Test a scanner is attached to PC
    2. Operate a scanner
    3. Accept the image
    etc.
    Also consideration into a scanner attached to a network.
    I am on WindowsNT, VB6.

  4. #4
    Lively Member
    Join Date
    Apr 2002
    Posts
    89

    dfg

    sdfgdsfgdsfg

  5. #5
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350
    Most scanners are TWAIN. I'd be inclined to find a TWAIN ocx or dll and incorporate that into your project. Let the TWAIN driver do all the work- not much point writing that from scratch IMO, unless, of course, the objective of the project is to do it from first principles. Or your scanner isn't TWAIN!

    Go and have a root around at http://www.twain.org . They have a resources page.

    Or do a Google search. (Hint: do it -mark -shania or you'll get a gazillion of extra hits with nothing to do with scanning!). I used to have some TWAIN stuff I downloaded but can't find it. It might be on my PC at home, but I'm at work right now. I'll look this evening.
    .

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    38
    look for this handy tool, if acquiring images are all that you do, its name is 'eztwain'.
    it use a eztw32.dll. provides two simple functions, 1. select source 2. acquire images. it calls your scanner driver and works well.
    it should solve your problem

    But i have mine unsolved ==>

    i need to control the scanner to do batch scanning ( the scanner has this function.)

    does anyone has any ocx or any examples of using TWAIN API ?

    my project is running out of time. a thousand thx if anyone would help!

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