473,789 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WIA and Twain

I'm facing what i consider to be a serious problem, because i can't find the
solution!!!
I've made possible, for the software i'm developing, to aquire images from a
scanner using WIA. The problem is that, when i aquire an image in, for
instance, photo editor, i have the oportunity to choose between the several
drivers availlable for the scanner. These drivers are WIA and Twain drivers.
Both. So, the software i'm developing, must be capable of displaying both
drivers, WIA and Twain and be able to work (aquire) with both. I've searched
google, i've been in www.twain.org,... and for what i can see there is no way
for vb .net to make this task, only in c++ (and i don't know c++). Can you
help me?

My thanks in advanced

Ricardo Furtado

Jan 25 '07 #1
3 3330

Ricardo Furtado wrote:
<snip>
the software i'm developing, must be capable of displaying both
drivers, WIA and Twain and be able to work (aquire) with both. I've searched
google, i've been inwww.twain.org ,... and for what i can see there is no way
for vb .net to make this task, only in c++ (and i don't know c++).
<snip>

What do you see in the twain spec that you think can't be handled by
VB.Net?

Also, you may want to have a look at

http://www.codeproject.com/dotnet/twaindotnet.asp

for a C# based example (even though you don't know how to write C++, I
bet you can *read* C#).

HTH.

Regards,

Branco.

Jan 25 '07 #2

"Branco Medeiros" <br************ *@gmail.comwrot e in message
news:11******** **************@ v45g2000cwv.goo glegroups.com.. .
>
Ricardo Furtado wrote:
<snip>
>the software i'm developing, must be capable of displaying both
drivers, WIA and Twain and be able to work (aquire) with both. I've
searched
google, i've been inwww.twain.org ,... and for what i can see there is no
way
for vb .net to make this task, only in c++ (and i don't know c++).
<snip>

What do you see in the twain spec that you think can't be handled by
VB.Net?

Also, you may want to have a look at

http://www.codeproject.com/dotnet/twaindotnet.asp

for a C# based example (even though you don't know how to write C++, I
bet you can *read* C#).

HTH.

Regards,

Branco.
Look in the comments section for that example(bottom of the page) and there
is a link to a VB.NET implimentation of this same project. (it may be
several pages back as this particular project has a lot of comments)
james
Jan 25 '07 #3
I've read that .Net only supports WIA and doesn't support Twain. This was on
a web page when i searched google for "Visual basic .net Twain"

"Branco Medeiros" wrote:
>
Ricardo Furtado wrote:
<snip>
the software i'm developing, must be capable of displaying both
drivers, WIA and Twain and be able to work (aquire) with both. I've searched
google, i've been inwww.twain.org ,... and for what i can see there is no way
for vb .net to make this task, only in c++ (and i don't know c++).
<snip>

What do you see in the twain spec that you think can't be handled by
VB.Net?

Also, you may want to have a look at

http://www.codeproject.com/dotnet/twaindotnet.asp

for a C# based example (even though you don't know how to write C++, I
bet you can *read* C#).

HTH.

Regards,

Branco.

Jan 26 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4827
by: ren | last post by:
Hello all, I'm looking for a method, to program TWAIN directly via API calls... Because the Twain OCX under Windows from Kodak is very slow... When I scan via software or the OCX, the TWAIN driver reloads everytime, I would like to keep it open, so I can close it when I exit the program. Thanx, Paul
0
2311
by: Neil Benn | last post by:
Hello, Has anyone had any success with python twain? I've downloaded it and run the module however, I'm getting a python core crash when calling to SourceManager.OpenSource. Needless to say, I've already tested the scanner with a twain based application and it didn't crash it so I'm guessing that the issue is with the python twain and not the scanner itself. Any tips, helps or <didn't you check that you wally comments> would
0
1981
by: Mikael Olofsson | last post by:
Hi all! Sorry for this rather lengthy post. It's a long preamble followed by a few questions based on that. Here's my situation: I am trying to write a specialized scanner utility for my own needs, and I want to use the module twain to control my scanner. I haven't used the twain module before, which is most certainly why I'm facing problems. My problem is to interprete some of the information I get from the scanner. The scanner, by...
3
12873
by: Konrad | last post by:
Hi Can you point me articles concerning using of twain drivers for grabbing image from camera. Thanks Konrad
4
1937
by: Chuck Rewood | last post by:
Can somebody here tell me how to access TWAIN from web ? I am gonna make a button to call TWAIN however, the twain.h from (www.twain.org) need some handle from hWnd (System.Windows.Form ??) What kind of wrapper or is there any namespace available ? Thanks, Riwut
3
1993
by: DB | last post by:
vb.net. What should I look at for acquiring scanner images? Why? WIA? TWAIN? tks, DB
2
3323
by: samuabreu | last post by:
I'm currently developing an API of Twain for Java. As Twain is implemented in C (and in fact Im writing and calling C methods from the app) I couldn't find a better group to search for twain development related issues. Here's my question: Does anyone know why when I negociate the capabilities ICAP_XRESOLUTION and ICAP_YRESOLUTION I'm getting all sorts of repeated random values like: 100, 100, 0, 0, 117, 5, 8, 0, 87, 78, 79, 83, 115,...
4
9799
by: Dustin Davis | last post by:
I'm hoping there is a TWAIN expert lurking here somewhere :) I'm writing a very customized application. The software will be set up in multiple location and will always have two types of scanners attached to the computer. The scanners are microfilm/fiche and a flatbed. So I've created a scanner setup screen where the user can select the twain source for the fiche/film scanner and the twain source for the flatbed scanner. I'm using an...
1
8361
by: =?Utf-8?B?UmljYXJkbyBGdXJ0YWRv?= | last post by:
I'm facing what i consider to be a serious problem, because i can't find the solution!!! I've made possible, for the software i'm developing, to aquire images from a scanner using WIA. The problem is that, when i aquire an image in, for instance, photo editor, i have the oportunity to choose between the several drivers availlable for the scanner. These drivers are WIA and Twain drivers. Both. So, the software i'm developing, must be...
0
10404
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10195
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6765
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5548
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4090
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2906
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.