Ho do I connect to a scanner with VB

I'm trying to connect to a scanner with VB, scan the image and the save it to a JPEG file.


Comments

  • Hi,

    you must have image for windows installed to do this way.



    Add ImgEdit and ImgScan to your components list.

    Place one imgScan on you form and add a button.



    'Try this code

    Private Sub Command1_Click()

    ImgScan1.Image = "c: emp est.jpg"

    ImgScan1.ScanTo = FileOnly

    ImgScan1.StartScan

    End Sub



    I dont have scanner connected so I cant try the code. You may have add a imgEdit control as well.

    There is some help availible



    Best regards Kalle Lindahl



    : I'm trying to connect to a scanner with VB, scan the image and the save it to a JPEG file.

    :






  • : I'm trying to connect to a scanner with VB, scan the image and the save it to a JPEG file.

    :






Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories