scanner picturebox

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

    scanner picturebox

    Hi,


    I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The purpose
    of it, is a msaccess-database msaccess with information. about herbes
    ,plants and birds. I've a lot of pictures which i will scan and save the
    automaticly in a folder.
    i trying to get a picture of it by using my scanner into a picturebox on my
    windowsform .

    I want to scan automaticly with one simply click on a buttum. I will allays
    scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or pdf
    ..withe the name of an field ond the record.
    Now i get only my scanner on the front all the the data i have to fill in
    manually

    Shell("C:\WINDO WS\system32\wia acmgr.exe")

    any help is veryy appreciated!, Rob





  • Gillard

    #2
    Re: scanner picturebox

    try this opentwain.net





    "Rob" <ROb@sdmlfk.nlw rote in message
    news:48ac66f5$0 $2856$ba620e4c@ news.skynet.be. ..
    Hi,
    >
    >
    I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The purpose
    of it, is a msaccess-database msaccess with information. about herbes
    ,plants and birds. I've a lot of pictures which i will scan and save the
    automaticly in a folder.
    i trying to get a picture of it by using my scanner into a picturebox on
    my windowsform .
    >
    I want to scan automaticly with one simply click on a buttum. I will
    allays scan with 200 dpi, blackWhiteFoto and save the picture as an jpg
    or pdf .withe the name of an field ond the record.
    Now i get only my scanner on the front all the the data i have to fill in
    manually
    >
    Shell("C:\WINDO WS\system32\wia acmgr.exe")
    >
    any help is veryy appreciated!, Rob
    >
    >
    >
    >
    >

    Comment

    • kimiraikkonen

      #3
      Re: scanner picturebox

      On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
      Hi,
      >
      I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The purpose
      of it, is a msaccess-database msaccess with information. about herbes
      ,plants and birds. I've a lot of pictures which i will scan and save the
      automaticly in a folder.
      i trying to get a picture of it by using my scanner into a picturebox on my
      windowsform .
      >
      I want to scan automaticly with one simply click on a buttum. I will allays
      scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or pdf
      .withe the name of an field ond the record.
      Now i get only my scanner on the front all the the data i have to fill in
      manually
      >
      Shell("C:\WINDO WS\system32\wia acmgr.exe")
      >
      any help is veryy appreciated!, Rob
      Look at this which seems popular:



      Paid one:


      Thanks,

      Onur Güzel

      Comment

      • Rob

        #4
        Re: scanner picturebox

        Hi all,

        thx to your replays.
        I thought it would be easier to make some code in vb.net to connect my
        program with my scanner twain device. I've read lots of code the past days
        , but i've not really found where i'am looking For.
        Sometimes i've found code in vb as a separate program, but not easily to put
        into mine own program. There a lot of code mostlly behind and my knowledge
        goes not far enough to understand all of this.

        Has someone a sample of this where i can scan through a commandbuttum on a
        blank windowsform inVb2005. I would like the user choose if he wants a
        Gif,Jpeg of PDf and save the scan in a specific folder eg "C:\scanresults ".
        I Don't like that the user has to choose with which device he will scan
        and I will all (DPi, ColorFoto,..) settings into my code and see the
        result into a picturebox and saved in the folder.

        Another question : exists there another filetype who's comprimes the
        pictures more then the Gif, Jpg or pdf.
        If i scan , my result is about +- 1/2 Mb and multiply with 8000 copies
        is about 4 gig a year !

        many Thx for your help, Rob

        "kimiraikko nen" <kimiraikkonen8 5@gmail.comschr eef in bericht
        news:b1c78aaf-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
        On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
        Hi,
        >
        I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The purpose
        of it, is a msaccess-database msaccess with information. about herbes
        ,plants and birds. I've a lot of pictures which i will scan and save the
        automaticly in a folder.
        i trying to get a picture of it by using my scanner into a picturebox on
        my
        windowsform .
        >
        I want to scan automaticly with one simply click on a buttum. I will
        allays
        scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or pdf
        .withe the name of an field ond the record.
        Now i get only my scanner on the front all the the data i have to fill in
        manually
        >
        Shell("C:\WINDO WS\system32\wia acmgr.exe")
        >
        any help is veryy appreciated!, Rob
        Look at this which seems popular:



        Paid one:


        Thanks,

        Onur Güzel


        Comment

        • Gillard

          #5
          Re: scanner picturebox

          try this one



          it is one of my prog


          "Rob" <ROb@sdmlfk.nlw rote in message
          news:48af3b61$0 $2851$ba620e4c@ news.skynet.be. ..
          Hi all,
          >
          thx to your replays.
          I thought it would be easier to make some code in vb.net to connect my
          program with my scanner twain device. I've read lots of code the past
          days , but i've not really found where i'am looking For.
          Sometimes i've found code in vb as a separate program, but not easily to
          put into mine own program. There a lot of code mostlly behind and my
          knowledge goes not far enough to understand all of this.
          >
          Has someone a sample of this where i can scan through a commandbuttum on a
          blank windowsform inVb2005. I would like the user choose if he wants a
          Gif,Jpeg of PDf and save the scan in a specific folder eg
          "C:\scanresults ". I Don't like that the user has to choose with which
          device he will scan and I will all (DPi, ColorFoto,..) settings into my
          code and see the result into a picturebox and saved in the folder.
          >
          Another question : exists there another filetype who's comprimes the
          pictures more then the Gif, Jpg or pdf.
          If i scan , my result is about +- 1/2 Mb and multiply with 8000 copies
          is about 4 gig a year !
          >
          many Thx for your help, Rob
          >
          "kimiraikko nen" <kimiraikkonen8 5@gmail.comschr eef in bericht
          news:b1c78aaf-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
          On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
          >Hi,
          >>
          > I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The
          >purpose
          >of it, is a msaccess-database msaccess with information. about herbes
          >,plants and birds. I've a lot of pictures which i will scan and save the
          >automaticly in a folder.
          >i trying to get a picture of it by using my scanner into a picturebox on
          >my
          >windowsform .
          >>
          >I want to scan automaticly with one simply click on a buttum. I will
          >allays
          >scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or pdf
          >.withe the name of an field ond the record.
          >Now i get only my scanner on the front all the the data i have to fill in
          >manually
          >>
          >Shell("C:\WIND OWS\system32\wi aacmgr.exe")
          >>
          >any help is veryy appreciated!, Rob
          >
          Look at this which seems popular:
          >

          >
          Paid one:

          >
          Thanks,
          >
          Onur Güzel
          >

          Comment

          • Rob

            #6
            Re: scanner picturebox

            Hi,
            Thanks for to your sample, but i can't open it.
            I've receive these errors to open it ( form1 line 28 and 125. eg
            "Error 3 Type 'AxIMAGESTUDIOL ib.AxImageStudi o' is not defined.
            D:\VBnetOCR\pho tocopieuse\phot ocopieuse\Form1 .Designer.vb 125 33
            photocopieuse"

            How i can resolve this ?
            grtz, Rob

            "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
            news:uGBY$gKBJH A.3888@TK2MSFTN GP05.phx.gbl...
            try this one
            >

            >
            it is one of my prog
            >
            >
            "Rob" <ROb@sdmlfk.nlw rote in message
            news:48af3b61$0 $2851$ba620e4c@ news.skynet.be. ..
            >Hi all,
            >>
            >thx to your replays.
            >I thought it would be easier to make some code in vb.net to connect my
            >program with my scanner twain device. I've read lots of code the past
            >days , but i've not really found where i'am looking For.
            >Sometimes i've found code in vb as a separate program, but not easily to
            >put into mine own program. There a lot of code mostlly behind and my
            >knowledge goes not far enough to understand all of this.
            >>
            >Has someone a sample of this where i can scan through a commandbuttum on
            >a blank windowsform inVb2005. I would like the user choose if he wants a
            >Gif,Jpeg of PDf and save the scan in a specific folder eg
            >"C:\scanresult s". I Don't like that the user has to choose with which
            >device he will scan and I will all (DPi, ColorFoto,..) settings into my
            >code and see the result into a picturebox and saved in the folder.
            >>
            >Another question : exists there another filetype who's comprimes the
            >pictures more then the Gif, Jpg or pdf.
            > If i scan , my result is about +- 1/2 Mb and multiply with 8000 copies
            >is about 4 gig a year !
            >>
            > many Thx for your help, Rob
            >>
            >"kimiraikkonen " <kimiraikkonen8 5@gmail.comschr eef in bericht
            >news:b1c78aa f-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
            >On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
            >>Hi,
            >>>
            >> I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The
            >>purpose
            >>of it, is a msaccess-database msaccess with information. about herbes
            >>,plants and birds. I've a lot of pictures which i will scan and save
            >>the
            >>automaticly in a folder.
            >>i trying to get a picture of it by using my scanner into a picturebox on
            >>my
            >>windowsform .
            >>>
            >>I want to scan automaticly with one simply click on a buttum. I will
            >>allays
            >>scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or pdf
            >>.withe the name of an field ond the record.
            >>Now i get only my scanner on the front all the the data i have to fill
            >>in
            >>manually
            >>>
            >>Shell("C:\WIN DOWS\system32\w iaacmgr.exe")
            >>>
            >>any help is veryy appreciated!, Rob
            >>
            >Look at this which seems popular:
            >>
            >http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
            >>
            >Paid one:
            >http://www.leadtools.com/SDK/Raster/...ning-Twain.htm
            >>
            >Thanks,
            >>
            >Onur Güzel
            >>

            Comment

            • Gillard

              #7
              Re: scanner picturebox

              register the ImageStudio.ocx on your system

              with : regsvr32.exe ImageStudio.ocx

              I

              "Rob" <ROb@sdmlfk.nlw rote in message
              news:48afc788$0 $2858$ba620e4c@ news.skynet.be. ..
              Hi,
              Thanks for to your sample, but i can't open it.
              I've receive these errors to open it ( form1 line 28 and 125. eg
              "Error 3 Type 'AxIMAGESTUDIOL ib.AxImageStudi o' is not defined.
              D:\VBnetOCR\pho tocopieuse\phot ocopieuse\Form1 .Designer.vb 125 33
              photocopieuse"
              >
              How i can resolve this ?
              grtz, Rob
              >
              "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
              news:uGBY$gKBJH A.3888@TK2MSFTN GP05.phx.gbl...
              >try this one
              >>
              >http://rapidshare.com/files/13936462...ieuse.zip.html
              >>
              >it is one of my prog
              >>
              >>
              >"Rob" <ROb@sdmlfk.nlw rote in message
              >news:48af3b61$ 0$2851$ba620e4c @news.skynet.be ...
              >>Hi all,
              >>>
              >>thx to your replays.
              >>I thought it would be easier to make some code in vb.net to connect my
              >>program with my scanner twain device. I've read lots of code the past
              >>days , but i've not really found where i'am looking For.
              >>Sometimes i've found code in vb as a separate program, but not easily to
              >>put into mine own program. There a lot of code mostlly behind and my
              >>knowledge goes not far enough to understand all of this.
              >>>
              >>Has someone a sample of this where i can scan through a commandbuttum on
              >>a blank windowsform inVb2005. I would like the user choose if he wants
              >>a Gif,Jpeg of PDf and save the scan in a specific folder eg
              >>"C:\scanresul ts". I Don't like that the user has to choose with which
              >>device he will scan and I will all (DPi, ColorFoto,..) settings into
              >>my code and see the result into a picturebox and saved in the folder.
              >>>
              >>Another question : exists there another filetype who's comprimes the
              >>pictures more then the Gif, Jpg or pdf.
              >> If i scan , my result is about +- 1/2 Mb and multiply with 8000
              >>copies is about 4 gig a year !
              >>>
              >> many Thx for your help, Rob
              >>>
              >>"kimiraikkone n" <kimiraikkonen8 5@gmail.comschr eef in bericht
              >>news:b1c78a af-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
              >>On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
              >>>Hi,
              >>>>
              >>> I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The
              >>>purpose
              >>>of it, is a msaccess-database msaccess with information. about herbes
              >>>,plants and birds. I've a lot of pictures which i will scan and save
              >>>the
              >>>automaticl y in a folder.
              >>>i trying to get a picture of it by using my scanner into a picturebox
              >>>on my
              >>>windowsfor m .
              >>>>
              >>>I want to scan automaticly with one simply click on a buttum. I will
              >>>allays
              >>>scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or
              >>>pdf
              >>>.withe the name of an field ond the record.
              >>>Now i get only my scanner on the front all the the data i have to fill
              >>>in
              >>>manually
              >>>>
              >>>Shell("C:\WI NDOWS\system32\ wiaacmgr.exe")
              >>>>
              >>>any help is veryy appreciated!, Rob
              >>>
              >>Look at this which seems popular:
              >>>
              >>http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
              >>>
              >>Paid one:
              >>http://www.leadtools.com/SDK/Raster/...ning-Twain.htm
              >>>
              >>Thanks,
              >>>
              >>Onur Güzel
              >>>
              >
              >

              Comment

              • Rob

                #8
                Re: scanner picturebox

                Hi Gillard,
                I've registrated the ocx int my system as below,
                "regsvr32 "D:\VBnetOCR\ph otocopieuse\pho tocopieuse\Imag eStudio.ocx"

                but i get another error :
                Error 1 Unable to find manifest signing certificate in the certificate
                store. photocopieuse

                Is there somthings others needed to ?

                lindly regards, Rob


                "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                news:O0pfJFRBJH A.572@TK2MSFTNG P03.phx.gbl...
                register the ImageStudio.ocx on your system
                >
                with : regsvr32.exe ImageStudio.ocx
                >
                I
                >
                "Rob" <ROb@sdmlfk.nlw rote in message
                news:48afc788$0 $2858$ba620e4c@ news.skynet.be. ..
                >Hi,
                >Thanks for to your sample, but i can't open it.
                >I've receive these errors to open it ( form1 line 28 and 125. eg
                >"Error 3 Type 'AxIMAGESTUDIOL ib.AxImageStudi o' is not defined.
                >D:\VBnetOCR\ph otocopieuse\pho tocopieuse\Form 1.Designer.vb 125 33
                >photocopieus e"
                >>
                >How i can resolve this ?
                > grtz, Rob
                >>
                >"Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                >news:uGBY$gKBJ HA.3888@TK2MSFT NGP05.phx.gbl.. .
                >>try this one
                >>>
                >>http://rapidshare.com/files/13936462...ieuse.zip.html
                >>>
                >>it is one of my prog
                >>>
                >>>
                >>"Rob" <ROb@sdmlfk.nlw rote in message
                >>news:48af3b61 $0$2851$ba620e4 c@news.skynet.b e...
                >>>Hi all,
                >>>>
                >>>thx to your replays.
                >>>I thought it would be easier to make some code in vb.net to connect my
                >>>program with my scanner twain device. I've read lots of code the past
                >>>days , but i've not really found where i'am looking For.
                >>>Sometimes i've found code in vb as a separate program, but not easily
                >>>to put into mine own program. There a lot of code mostlly behind and my
                >>>knowledge goes not far enough to understand all of this.
                >>>>
                >>>Has someone a sample of this where i can scan through a commandbuttum
                >>>on a blank windowsform inVb2005. I would like the user choose if he
                >>>wants a Gif,Jpeg of PDf and save the scan in a specific folder eg
                >>>"C:\scanresu lts". I Don't like that the user has to choose with which
                >>>device he will scan and I will all (DPi, ColorFoto,..) settings into
                >>>my code and see the result into a picturebox and saved in the folder.
                >>>>
                >>>Another question : exists there another filetype who's comprimes the
                >>>pictures more then the Gif, Jpg or pdf.
                >>> If i scan , my result is about +- 1/2 Mb and multiply with 8000
                >>>copies is about 4 gig a year !
                >>>>
                >>> many Thx for your help, Rob
                >>>>
                >>>"kimiraikkon en" <kimiraikkonen8 5@gmail.comschr eef in bericht
                >>>news:b1c78aa f-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
                >>>On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
                >>>>Hi,
                >>>>>
                >>>> I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The
                >>>>purpose
                >>>>of it, is a msaccess-database msaccess with information. about herbes
                >>>>,plants and birds. I've a lot of pictures which i will scan and save
                >>>>the
                >>>>automatic ly in a folder.
                >>>>i trying to get a picture of it by using my scanner into a picturebox
                >>>>on my
                >>>>windowsfo rm .
                >>>>>
                >>>>I want to scan automaticly with one simply click on a buttum. I will
                >>>>allays
                >>>>scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or
                >>>>pdf
                >>>>.withe the name of an field ond the record.
                >>>>Now i get only my scanner on the front all the the data i have to fill
                >>>>in
                >>>>manually
                >>>>>
                >>>>Shell("C:\W INDOWS\system32 \wiaacmgr.exe")
                >>>>>
                >>>>any help is veryy appreciated!, Rob
                >>>>
                >>>Look at this which seems popular:
                >>>>
                >>>http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
                >>>>
                >>>Paid one:
                >>>http://www.leadtools.com/SDK/Raster/...ning-Twain.htm
                >>>>
                >>>Thanks,
                >>>>
                >>>Onur Güzel
                >>>>
                >>
                >>

                Comment

                • Gillard

                  #9
                  Re: scanner picturebox

                  in the project properies there is a tab signing
                  make sure "Sign the Click once Manifest" is unchecked


                  this is a very common error when sharing .net source project

                  but now you know it for the next time

                  "Rob" <ROb@sdmlfk.nlw rote in message
                  news:48b04547$0 $2858$ba620e4c@ news.skynet.be. ..
                  Hi Gillard,
                  I've registrated the ocx int my system as below,
                  "regsvr32 "D:\VBnetOCR\ph otocopieuse\pho tocopieuse\Imag eStudio.ocx"
                  >
                  but i get another error :
                  Error 1 Unable to find manifest signing certificate in the certificate
                  store. photocopieuse
                  >
                  Is there somthings others needed to ?
                  >
                  lindly regards, Rob
                  >
                  >
                  "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                  news:O0pfJFRBJH A.572@TK2MSFTNG P03.phx.gbl...
                  >register the ImageStudio.ocx on your system
                  >>
                  >with : regsvr32.exe ImageStudio.ocx
                  >>
                  >I
                  >>
                  >"Rob" <ROb@sdmlfk.nlw rote in message
                  >news:48afc788$ 0$2858$ba620e4c @news.skynet.be ...
                  >>Hi,
                  >>Thanks for to your sample, but i can't open it.
                  >>I've receive these errors to open it ( form1 line 28 and 125. eg
                  >>"Error 3 Type 'AxIMAGESTUDIOL ib.AxImageStudi o' is not defined.
                  >>D:\VBnetOCR\p hotocopieuse\ph otocopieuse\For m1.Designer.vb 125 33
                  >>photocopieuse "
                  >>>
                  >>How i can resolve this ?
                  >> grtz, Rob
                  >>>
                  >>"Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                  >>news:uGBY$gKB JHA.3888@TK2MSF TNGP05.phx.gbl. ..
                  >>>try this one
                  >>>>
                  >>>http://rapidshare.com/files/13936462...ieuse.zip.html
                  >>>>
                  >>>it is one of my prog
                  >>>>
                  >>>>
                  >>>"Rob" <ROb@sdmlfk.nlw rote in message
                  >>>news:48af3b6 1$0$2851$ba620e 4c@news.skynet. be...
                  >>>>Hi all,
                  >>>>>
                  >>>>thx to your replays.
                  >>>>I thought it would be easier to make some code in vb.net to connect my
                  >>>>program with my scanner twain device. I've read lots of code the past
                  >>>>days , but i've not really found where i'am looking For.
                  >>>>Sometimes i've found code in vb as a separate program, but not easily
                  >>>>to put into mine own program. There a lot of code mostlly behind and
                  >>>>my knowledge goes not far enough to understand all of this.
                  >>>>>
                  >>>>Has someone a sample of this where i can scan through a commandbuttum
                  >>>>on a blank windowsform inVb2005. I would like the user choose if he
                  >>>>wants a Gif,Jpeg of PDf and save the scan in a specific folder eg
                  >>>>"C:\scanres ults". I Don't like that the user has to choose with
                  >>>>which device he will scan and I will all (DPi, ColorFoto,..) settings
                  >>>>into my code and see the result into a picturebox and saved in the
                  >>>>folder.
                  >>>>>
                  >>>>Another question : exists there another filetype who's comprimes the
                  >>>>pictures more then the Gif, Jpg or pdf.
                  >>>> If i scan , my result is about +- 1/2 Mb and multiply with 8000
                  >>>>copies is about 4 gig a year !
                  >>>>>
                  >>>> many Thx for your help, Rob
                  >>>>>
                  >>>>"kimiraikko nen" <kimiraikkonen8 5@gmail.comschr eef in bericht
                  >>>>news:b1c78a af-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
                  >>>>On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
                  >>>>>Hi,
                  >>>>>>
                  >>>>> I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The
                  >>>>>purpose
                  >>>>>of it, is a msaccess-database msaccess with information. about herbes
                  >>>>>,plants and birds. I've a lot of pictures which i will scan and save
                  >>>>>the
                  >>>>>automaticl y in a folder.
                  >>>>>i trying to get a picture of it by using my scanner into a picturebox
                  >>>>>on my
                  >>>>>windowsfor m .
                  >>>>>>
                  >>>>>I want to scan automaticly with one simply click on a buttum. I will
                  >>>>>allays
                  >>>>>scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or
                  >>>>>pdf
                  >>>>>.withe the name of an field ond the record.
                  >>>>>Now i get only my scanner on the front all the the data i have to
                  >>>>>fill in
                  >>>>>manually
                  >>>>>>
                  >>>>>Shell("C:\ WINDOWS\system3 2\wiaacmgr.exe" )
                  >>>>>>
                  >>>>>any help is veryy appreciated!, Rob
                  >>>>>
                  >>>>Look at this which seems popular:
                  >>>>>
                  >>>>http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
                  >>>>>
                  >>>>Paid one:
                  >>>>http://www.leadtools.com/SDK/Raster/...ning-Twain.htm
                  >>>>>
                  >>>>Thanks,
                  >>>>>
                  >>>>Onur Güzel
                  >>>>>
                  >>>
                  >>>
                  >
                  >

                  Comment

                  • Rob

                    #10
                    Re: scanner picturebox

                    Morning Gillard,
                    Thanks to your help. I can scan now and save as a jpg. Now i can do some
                    experiments with the demo.

                    By the way, do you know how i can rotate the picture in the picturebox ?

                    regards , Rob
                    "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                    news:uPN%23iZWB JHA.1228@TK2MSF TNGP02.phx.gbl. ..
                    in the project properies there is a tab signing
                    make sure "Sign the Click once Manifest" is unchecked
                    >
                    >
                    this is a very common error when sharing .net source project
                    >
                    but now you know it for the next time
                    >
                    "Rob" <ROb@sdmlfk.nlw rote in message
                    news:48b04547$0 $2858$ba620e4c@ news.skynet.be. ..
                    >Hi Gillard,
                    >I've registrated the ocx int my system as below,
                    >"regsvr32 "D:\VBnetOCR\ph otocopieuse\pho tocopieuse\Imag eStudio.ocx"
                    >>
                    >but i get another error :
                    >Error 1 Unable to find manifest signing certificate in the certificate
                    >store. photocopieuse
                    >>
                    >Is there somthings others needed to ?
                    >>
                    >lindly regards, Rob
                    >>
                    >>
                    >"Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                    >news:O0pfJFRBJ HA.572@TK2MSFTN GP03.phx.gbl...
                    >>register the ImageStudio.ocx on your system
                    >>>
                    >>with : regsvr32.exe ImageStudio.ocx
                    >>>
                    >>I
                    >>>
                    >>"Rob" <ROb@sdmlfk.nlw rote in message
                    >>news:48afc788 $0$2858$ba620e4 c@news.skynet.b e...
                    >>>Hi,
                    >>>Thanks for to your sample, but i can't open it.
                    >>>I've receive these errors to open it ( form1 line 28 and 125. eg
                    >>>"Error 3 Type 'AxIMAGESTUDIOL ib.AxImageStudi o' is not defined.
                    >>>D:\VBnetOCR\ photocopieuse\p hotocopieuse\Fo rm1.Designer.vb 125 33
                    >>>photocopieus e"
                    >>>>
                    >>>How i can resolve this ?
                    >>> grtz, Rob
                    >>>>
                    >>>"Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                    >>>news:uGBY$gK BJHA.3888@TK2MS FTNGP05.phx.gbl ...
                    >>>>try this one
                    >>>>>
                    >>>>http://rapidshare.com/files/13936462...ieuse.zip.html
                    >>>>>
                    >>>>it is one of my prog
                    >>>>>
                    >>>>>
                    >>>>"Rob" <ROb@sdmlfk.nlw rote in message
                    >>>>news:48af3b 61$0$2851$ba620 e4c@news.skynet .be...
                    >>>>>Hi all,
                    >>>>>>
                    >>>>>thx to your replays.
                    >>>>>I thought it would be easier to make some code in vb.net to connect
                    >>>>>my program with my scanner twain device. I've read lots of code the
                    >>>>>past days , but i've not really found where i'am looking For.
                    >>>>>Sometime s i've found code in vb as a separate program, but not easily
                    >>>>>to put into mine own program. There a lot of code mostlly behind and
                    >>>>>my knowledge goes not far enough to understand all of this.
                    >>>>>>
                    >>>>>Has someone a sample of this where i can scan through a commandbuttum
                    >>>>>on a blank windowsform inVb2005. I would like the user choose if he
                    >>>>>wants a Gif,Jpeg of PDf and save the scan in a specific folder eg
                    >>>>>"C:\scanre sults". I Don't like that the user has to choose with
                    >>>>>which device he will scan and I will all (DPi, ColorFoto,..)
                    >>>>>settings into my code and see the result into a picturebox and saved
                    >>>>>in the folder.
                    >>>>>>
                    >>>>>Another question : exists there another filetype who's comprimes
                    >>>>>the pictures more then the Gif, Jpg or pdf.
                    >>>>> If i scan , my result is about +- 1/2 Mb and multiply with 8000
                    >>>>>copies is about 4 gig a year !
                    >>>>>>
                    >>>>> many Thx for your help, Rob
                    >>>>>>
                    >>>>>"kimiraikk onen" <kimiraikkonen8 5@gmail.comschr eef in bericht
                    >>>>>news:b1c78 aaf-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
                    >>>>>On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
                    >>>>>>Hi,
                    >>>>>>>
                    >>>>>> I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The
                    >>>>>>purpose
                    >>>>>>of it, is a msaccess-database msaccess with information. about
                    >>>>>>herbes
                    >>>>>>,plants and birds. I've a lot of pictures which i will scan and
                    >>>>>>save the
                    >>>>>>automatic ly in a folder.
                    >>>>>>i trying to get a picture of it by using my scanner into a
                    >>>>>>picturebo x on my
                    >>>>>>windowsfo rm .
                    >>>>>>>
                    >>>>>>I want to scan automaticly with one simply click on a buttum. I will
                    >>>>>>allays
                    >>>>>>scan with 200 dpi, blackWhiteFoto and save the picture as an jpg or
                    >>>>>>pdf
                    >>>>>>.withe the name of an field ond the record.
                    >>>>>>Now i get only my scanner on the front all the the data i have to
                    >>>>>>fill in
                    >>>>>>manuall y
                    >>>>>>>
                    >>>>>>Shell("C: \WINDOWS\system 32\wiaacmgr.exe ")
                    >>>>>>>
                    >>>>>>any help is veryy appreciated!, Rob
                    >>>>>>
                    >>>>>Look at this which seems popular:
                    >>>>>>
                    >>>>>http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
                    >>>>>>
                    >>>>>Paid one:
                    >>>>>http://www.leadtools.com/SDK/Raster/...ning-Twain.htm
                    >>>>>>
                    >>>>>Thanks,
                    >>>>>>
                    >>>>>Onur Güzel
                    >>>>>>
                    >>>>
                    >>>>
                    >>
                    >>

                    Comment

                    • kimiraikkonen

                      #11
                      Re: scanner picturebox

                      On Aug 24, 12:10 pm, "Rob" <R...@sdmlfk.nl wrote:
                      Morning Gillard,
                      Thanks to your help. I can scan now and save as a jpg. Now i can do some
                      experiments with the demo.
                      >
                      By the way, do you know how i can rotate the picture in the picturebox ?
                      >
                      regards , Rob
                      "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in berichtnews:uPN %23iZWBJHA.1228 @TK2MSFTNGP02.p hx.gbl...
                      >
                      in the project properies there is a tab signing
                      make sure "Sign the Click once Manifest" is unchecked
                      >
                      this is a very common error when sharing .net source project
                      >
                      but now you know it for the next time
                      >
                      "Rob" <R...@sdmlfk.nl wrote in message
                      news:48b04547$0 $2858$ba620e4c@ news.skynet.be. ..
                      Hi Gillard,
                      I've registrated the ocx int my system as below,
                      "regsvr32 "D:\VBnetOCR\ph otocopieuse\pho tocopieuse\Imag eStudio.ocx"
                      >
                      but i get another error :
                      Error 1 Unable to find manifest signing certificate in the certificate
                      store. photocopieuse
                      >
                      Is there somthings others needed to ?
                      >
                      lindly regards, Rob
                      >
                      "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                      >news:O0pfJFRBJ HA.572@TK2MSFTN GP03.phx.gbl...
                      >register the ImageStudio.ocx on your system
                      >
                      >with : regsvr32.exe ImageStudio.ocx
                      >
                      >I
                      >
                      >"Rob" <R...@sdmlfk.nl wrote in message
                      >>news:48afc788 $0$2858$ba620e4 c@news.skynet.b e...
                      >>Hi,
                      >>Thanks for to your sample, but i can't open it.
                      >>I've receive these errors to open it ( form1 line 28 and 125. eg
                      >>"Error 3 Type 'AxIMAGESTUDIOL ib.AxImageStudi o' is not defined.
                      >>D:\VBnetOCR\p hotocopieuse\ph otocopieuse\For m1.Designer.vb 125 33
                      >>photocopieuse "
                      >
                      >>How i can resolve this ?
                      >> grtz, Rob
                      >
                      >>"Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                      >>>news:uGBY$gK BJHA.3888@TK2MS FTNGP05.phx.gbl ...
                      >>>try this one
                      >>
                      >>>it is one of my prog
                      >
                      >>>"Rob" <R...@sdmlfk.nl wrote in message
                      >>>>news:48af3b 61$0$2851$ba620 e4c@news.skynet .be...
                      >>>>Hi all,
                      >
                      >>>>thx to your replays.
                      >>>>I thought it would be easier to make some code in vb.net to connect
                      >>>>my program with my scanner twain device. I've read lots of code the
                      >>>>past days , but i've not really found where i'am looking For.
                      >>>>Sometimes i've found code in vb as a separate program, but not easily
                      >>>>to put into mine own program. There a lot of code mostlly behind and
                      >>>>my knowledge goes not far enough to understand all of this.
                      >
                      >>>>Has someone a sample of this where i can scan through a commandbuttum
                      >>>>on a blank windowsform inVb2005. I would like the user choose if he
                      >>>>wants a Gif,Jpeg of PDf and save the scan in a specific folder eg
                      >>>>"C:\scanres ults". I Don't like that the user has to choose with
                      >>>>which device he will scan and I will all (DPi, ColorFoto,..)
                      >>>>settings into my code and see the result into a picturebox and saved
                      >>>>in the folder.
                      >
                      >>>>Another question : exists there another filetype who's comprimes
                      >>>>the pictures more then the Gif, Jpg or pdf.
                      >>>> If i scan , my result is about +- 1/2 Mb and multiply with 8000
                      >>>>copies is about 4 gig a year !
                      >
                      >>>> many Thx for your help, Rob
                      >
                      >>>>"kimiraikko nen" <kimiraikkone.. .@gmail.comschr eef in bericht
                      >>>>>news:b1c78 aaf-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
                      >>>>On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
                      >>>>>Hi,
                      >
                      >>>>> I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The
                      >>>>>purpose
                      >>>>>of it, is a msaccess-database msaccess with information. about
                      >>>>>herbes
                      >>>>>,plants and birds. I've a lot of pictures which i will scan and
                      >>>>>save the
                      >>>>>automaticl y in a folder.
                      >>>>>i trying to get a picture of it by using my scanner into a
                      >>>>>pictureb ox on my
                      >>>>>windowsfor m .
                      >
                      >>>>>I want to scan automaticly with one simply click on a buttum. I will
                      >>>>>allays
                      >>>>>scan with 200 dpi, blackWhiteFoto and save the picture as an jpgor
                      >>>>>pdf
                      >>>>>.withe the name of an field ond the record.
                      >>>>>Now i get only my scanner on the front all the the data i have to
                      >>>>>fill in
                      >>>>>manually
                      >
                      >>>>>Shell("C:\ WINDOWS\system3 2\wiaacmgr.exe" )
                      >
                      >>>>>any help is veryy appreciated!, Rob
                      >
                      >>>>Look at this which seems popular:
                      >>>
                      >>>>Thanks,
                      >
                      >>>>Onur Güzel
                      Rob,

                      You can rotate a picturebox using RotateFlip method:

                      ' Eg: Rotate 180 degree plus flipping horizontally
                      PictureBox1.Ima ge.RotateFlip(R otateFlipType.R otate180FlipX)
                      ' You need to refresh to see updated picture
                      PictureBox1.Ref resh()

                      Onur Güzel

                      Comment

                      • Rob

                        #12
                        Re: scanner picturebox

                        Thanks to your all,
                        Rob
                        "kimiraikko nen" <kimiraikkonen8 5@gmail.comschr eef in bericht
                        news:aefb2ac0-40c9-4c19-8a08-91c638adc955@8g 2000hse.googleg roups.com...
                        On Aug 24, 12:10 pm, "Rob" <R...@sdmlfk.nl wrote:
                        Morning Gillard,
                        Thanks to your help. I can scan now and save as a jpg. Now i can do some
                        experiments with the demo.
                        >
                        By the way, do you know how i can rotate the picture in the picturebox ?
                        >
                        regards , Rob
                        "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in
                        berichtnews:uPN %23iZWBJHA.1228 @TK2MSFTNGP02.p hx.gbl...
                        >
                        in the project properies there is a tab signing
                        make sure "Sign the Click once Manifest" is unchecked
                        >
                        this is a very common error when sharing .net source project
                        >
                        but now you know it for the next time
                        >
                        "Rob" <R...@sdmlfk.nl wrote in message
                        news:48b04547$0 $2858$ba620e4c@ news.skynet.be. ..
                        Hi Gillard,
                        I've registrated the ocx int my system as below,
                        "regsvr32 "D:\VBnetOCR\ph otocopieuse\pho tocopieuse\Imag eStudio.ocx"
                        >
                        but i get another error :
                        Error 1 Unable to find manifest signing certificate in the certificate
                        store. photocopieuse
                        >
                        Is there somthings others needed to ?
                        >
                        lindly regards, Rob
                        >
                        "Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                        >news:O0pfJFRBJ HA.572@TK2MSFTN GP03.phx.gbl...
                        >register the ImageStudio.ocx on your system
                        >
                        >with : regsvr32.exe ImageStudio.ocx
                        >
                        >I
                        >
                        >"Rob" <R...@sdmlfk.nl wrote in message
                        >>news:48afc788 $0$2858$ba620e4 c@news.skynet.b e...
                        >>Hi,
                        >>Thanks for to your sample, but i can't open it.
                        >>I've receive these errors to open it ( form1 line 28 and 125. eg
                        >>"Error 3 Type 'AxIMAGESTUDIOL ib.AxImageStudi o' is not defined.
                        >>D:\VBnetOCR\p hotocopieuse\ph otocopieuse\For m1.Designer.vb 125 33
                        >>photocopieuse "
                        >
                        >>How i can resolve this ?
                        >> grtz, Rob
                        >
                        >>"Gillard" <gillard_george s@@@@@@@@@hotma il.comschreef in bericht
                        >>>news:uGBY$gK BJHA.3888@TK2MS FTNGP05.phx.gbl ...
                        >>>try this one
                        >>
                        >>>it is one of my prog
                        >
                        >>>"Rob" <R...@sdmlfk.nl wrote in message
                        >>>>news:48af3b 61$0$2851$ba620 e4c@news.skynet .be...
                        >>>>Hi all,
                        >
                        >>>>thx to your replays.
                        >>>>I thought it would be easier to make some code in vb.net to connect
                        >>>>my program with my scanner twain device. I've read lots of code
                        >>>>the
                        >>>>past days , but i've not really found where i'am looking For.
                        >>>>Sometimes i've found code in vb as a separate program, but not
                        >>>>easily
                        >>>>to put into mine own program. There a lot of code mostlly behind
                        >>>>and
                        >>>>my knowledge goes not far enough to understand all of this.
                        >
                        >>>>Has someone a sample of this where i can scan through a
                        >>>>commandbutt um
                        >>>>on a blank windowsform inVb2005. I would like the user choose if
                        >>>>he
                        >>>>wants a Gif,Jpeg of PDf and save the scan in a specific folder eg
                        >>>>"C:\scanres ults". I Don't like that the user has to choose with
                        >>>>which device he will scan and I will all (DPi, ColorFoto,..)
                        >>>>settings into my code and see the result into a picturebox and
                        >>>>saved
                        >>>>in the folder.
                        >
                        >>>>Another question : exists there another filetype who's comprimes
                        >>>>the pictures more then the Gif, Jpg or pdf.
                        >>>> If i scan , my result is about +- 1/2 Mb and multiply with 8000
                        >>>>copies is about 4 gig a year !
                        >
                        >>>> many Thx for your help, Rob
                        >
                        >>>>"kimiraikko nen" <kimiraikkone.. .@gmail.comschr eef in bericht
                        >>>>>news:b1c78 aaf-3321-4d63-ad7f-3159f4055c87@a7 0g2000hsh.googl egroups.com...
                        >>>>On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nl wrote:
                        >>>>>Hi,
                        >
                        >>>>> I'am using Visual Basic 2005 and ADo.net and a twain-scanner .The
                        >>>>>purpose
                        >>>>>of it, is a msaccess-database msaccess with information. about
                        >>>>>herbes
                        >>>>>,plants and birds. I've a lot of pictures which i will scan and
                        >>>>>save the
                        >>>>>automaticl y in a folder.
                        >>>>>i trying to get a picture of it by using my scanner into a
                        >>>>>pictureb ox on my
                        >>>>>windowsfor m .
                        >
                        >>>>>I want to scan automaticly with one simply click on a buttum. I
                        >>>>>will
                        >>>>>allays
                        >>>>>scan with 200 dpi, blackWhiteFoto and save the picture as an jpg
                        >>>>>or
                        >>>>>pdf
                        >>>>>.withe the name of an field ond the record.
                        >>>>>Now i get only my scanner on the front all the the data i have to
                        >>>>>fill in
                        >>>>>manually
                        >
                        >>>>>Shell("C:\ WINDOWS\system3 2\wiaacmgr.exe" )
                        >
                        >>>>>any help is veryy appreciated!, Rob
                        >
                        >>>>Look at this which seems popular:
                        >>>
                        >>>>Thanks,
                        >
                        >>>>Onur Güzel
                        Rob,

                        You can rotate a picturebox using RotateFlip method:

                        ' Eg: Rotate 180 degree plus flipping horizontally
                        PictureBox1.Ima ge.RotateFlip(R otateFlipType.R otate180FlipX)
                        ' You need to refresh to see updated picture
                        PictureBox1.Ref resh()

                        Onur Güzel


                        Comment

                        Working...