Home › Forums › TWAIN Classic › help with Twain vb.net
- This topic has 8 replies, 8 voices, and was last updated 9 years ago by abbyleem3@yahoo.com.
- AuthorPosts
Hi peeps,
I am facing a problem with twain. I’m sorry to have asked, i think you guys would have already answered this many times.
Can someone pls explain how do I use twain in a vb.net application which I want to write?
-How do i ‘add reference’ to the twain.dll or twain_32.dll when i can’t even regsvr32 it? neither does visual studio allows me to add it as a reference to my project. Ive heard of wrappers but how exactly do i wrap something?
-I am trying to get a scanner to scan an image, crop it, and save it in a specific folder and file name with .jpeg. much like the twaincommander2.0 console demo. I’m trying to get all those done with a push of a button automatically without user interaction.I have read many twain articles and nothing ever makes sense. I downloaded many examples but every one of the tools does not allow me to customise.
I found this: http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
but its in c# and i cant make out how did the twainlib came about lol.Thanks in advance for any help anyone might be able to advise!!
GeraldGerald,
I have sent you a personal message regarding customizing.
Best regards,
Kaij
have you looked at http://opentwain.codeplex.com ?
.
hello,
Personally ,I love RE Twain SDK very muck.It is an excellent scanner tool at the markert.Anyone who in need mey check the link :http://www.rasteredge.com/how-to/vb-net-imaging/twain-scanning/
Read a Barcode
Read a barcodefrom images or documents with the following VB.NET codes:Dim myImage As RaterEdgeImage = New RaterEdgeImage(“barcodes.tif”)
Using Barcode As BarCodeReader = New BarCodeReader(myImage)Dim options As ReadOpts = New ReadOpts()
options.Direction = Directions.LeftToRight
options.Symbology = Symbologies.code39Dim bars As Barcode[] = Barcode.ReadBars(options)
For (i As Integer = 0; i < bars.Length; i++)
System.Console.WriteLine(bars(i).ToString())
End UsingTo get more info on Twain scanning,plz check the link .
i’ve generated barcode in vb.net,but as for barcode reader for vb.net ,i just know .net barcode reader and do not know whether it can help?
@Wallism wrote:
Read a Barcode
Read a barcodefrom images or documents with the following VB.NET codes:Dim myImage As RaterEdgeImage = New RaterEdgeImage(“barcodes.tif”)
Using Barcode As BarCodeReader = New BarCodeReader(myImage)Dim options As ReadOpts = New ReadOpts()
options.Direction = Directions.LeftToRight
options.Symbology = Symbologies.code39Dim bars As Barcode[] = Barcode.ReadBars(options)
For (i As Integer = 0; i < bars.Length; i++)
System.Console.WriteLine(bars(i).ToString())
End UsingTo get more info on Twain scanning,plz check the link .
this is better one after i text
Alternatively, you can also try this barcode reader. Works like charm for me! 8)
@cindy313 wrote:
i’ve generated barcode in vb.net,but as for barcode reader for vb.net ,i just know .net barcode reader and do not know whether it can help?
Seems a free trail is available, I’ve tested it, it meet your requirement.
- AuthorPosts