扫描仪图片框 [英] scanner picturebox

查看:251
本文介绍了扫描仪图片框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用Visual Basic 2005和ADo.net以及twain-scanner。我的目的

,是一个msaccess数据库msaccess有信息。关于赫伯斯

,植物和鸟类。我有很多照片我将扫描并将

自动保存在一个文件夹中。

i试图通过将我的扫描仪用于图片框来获取它的照片在我的

windowsform。


我想自动扫描一个只需点击一个按钮。我将用200 dpi,blackWhiteFoto来消除

扫描并将图片保存为jpg或pdf

..以及记录中字段的名称。

现在我只在前面拿到我的扫描仪我必须填写的所有数据

手动


Shell(C:\\ \\ wINDOWS \ system32 \wiaacmgr.exe")


任何帮助都非常感谢!,Rob

解决方案

试试这个opentwain.net
http://www.vbfrance.com/codes/OPENTWAIN-NET_46699.aspx


" Rob" < RO*@sdmlfk.nlwrote in message

news:48 ********************** @ news.skynet.be。 ..





我使用Visual Basic 2005和ADo.net以及twain-scanner。其目的

,是一个带有信息的msaccess数据库msaccess。关于赫伯斯

,植物和鸟类。我有很多照片我将扫描并将

自动保存在一个文件夹中。

i试图通过将我的扫描仪用于图片框来获取它的照片on

我的windowsform。


我想自动扫描一个只需点击一个按钮。我将

用200 dpi,blackWhiteFoto扫描并将图片保存为jpg

或pdf。以及记录中字段的名称。

现在我只在前面拿到我的扫描仪我需要填写的所有数据

手动


Shell(C:\ WINDOWS \ system32 \wiaacmgr.exe")


任何帮助都非常感谢!,Rob



8月20日,9:48 pm,Rob < R ... @sdmlfk.nlwrote:





我使用的是Visual Basic 2005和ADo.net和twain-scanner。目的

,它是一个带有信息的msaccess数据库msaccess。关于赫伯斯

,植物和鸟类。我有很多照片我将扫描并将

自动保存在一个文件夹中。

i试图通过将我的扫描仪用于图片框来获取它的照片在我的

windowsform。


我想自动扫描一个只需点击一个按钮。我将用200 dpi,blackWhiteFoto来消除

扫描并将图片保存为jpg或pdf

。以及记录中字段的名称。

现在我只在前面拿到我的扫描仪我需要填写的所有数据

手动


Shell(C:\ WINDOWS \system32 \wiaacmgr.exe")


任何帮助都非常感谢!,Rob



看看这个这似乎很受欢迎:

http:// www.codeproject.com/KB/dotnet/twaindotnet.aspx


支付一个:
http://www.leadtools.com/SDK/Raster/...ning-Twain.htm


谢谢,


OnurGüzel


大家好,


你的回放。

我认为这会更容易在vb.net中制作一些代码,用我的扫描仪twain设备连接我的

程序。我过去几天读过很多代码

,但我还没找到我想找的地方。

有时候我找到了将vb中的代码作为一个单独的程序,但不容易将

放入我自己的程序中。有很多代码落后于我和我的知识

还不足以理解所有这些。


有人可以扫描我的样本吗?通过一个命令按钮在

空白windowsform inVb2005中。我希望用户选择是否需要一个

Gif,PDF的Jpeg并将扫描保存在特定的文件夹中,例如C:\ scanresults。

I不喜欢用户必须选择他将扫描哪个设备

我将所有(DPi,ColorFoto,..)设置到我的代码中并看到

结果进入一个图片框并保存在文件夹中。


另一个问题:还有另一个文件类型,它比Gif更符合

图片,jpg或pdf。

如果我扫描,我的结果是大约+ - 1/2 Mb并乘以8000份

每年约4 gig!


很多Thx为你提供帮助,Rob


" kimiraikkonen" < ki ************* @gmail.comschreef在bericht

新闻:b1 ***************** ***************** @ a70g2000 hsh.googlegroups.com ...

8月20日晚上9点48分,Rob < R ... @sdmlfk.nlwrote:





我使用的是Visual Basic 2005和ADo.net和twain-scanner。目的

,它是一个带有信息的msaccess数据库msaccess。关于赫伯斯

,植物和鸟类。我有很多照片我将扫描并将

自动保存在一个文件夹中。

i试图通过将我的扫描仪用于图片框来获取它的照片在

我的

windowsform。


我想自动扫描一个只需点击一个按钮。我将

allays

扫描200 dpi,blackWhiteFoto并保存图片为jpg或pdf

.withe字段名称ond记录。

现在我只在前面拿到我的扫描仪我需要填写的所有数据

手动


Shell(C:\ WINDOWS \ system32 \wiaacmgr.exe)


任何帮助都非常感谢!,Rob



看看这个似乎很受欢迎的:

http://www.codeproject.com/KB/dotnet/twaindotnet.aspx


支付一个:
http://www.leadtools.com/SDK/Raster/...ning -Twain.htm


谢谢,


OnurGüzel


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:\WINDOWS\system32\wiaacmgr.exe")

any help is veryy appreciated!, Rob

解决方案

try this opentwain.net

http://www.vbfrance.com/codes/OPENTWAIN-NET_46699.aspx

"Rob" <RO*@sdmlfk.nlwrote in message
news:48**********************@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:\WINDOWS\system32\wiaacmgr.exe")

any help is veryy appreciated!, Rob



On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nlwrote:

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:\WINDOWS\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


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

"kimiraikkonen" <ki*************@gmail.comschreef in bericht
news:b1**********************************@a70g2000 hsh.googlegroups.com...
On Aug 20, 9:48 pm, "Rob" <R...@sdmlfk.nlwrote:

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:\WINDOWS\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


这篇关于扫描仪图片框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆