Groups | Blog | Home
all groups > vb.net > october 2007 >

vb.net : Twain scanner.


Tom Shelton
10/28/2007 5:35:58 PM
[quoted text, click to view]

What part of adapting the C# code are you having trouble with? Can
you post a link to the C# sample.

--
Tom Shelton
Shawn
10/28/2007 8:27:17 PM
I have a need to use a twain scanner to get images for my application. I
found a good sample for C#.NET, but I'm having a hard time adapting it to
VB.NET. Does anyone know of a good place to look for sample code?

Shawn
10/28/2007 8:44:01 PM
Well, I am having several issues. I am able to get it to compile without
errors, but the events are not raised properly even if I try to add the
handlers plus I just don't work with C# very often, and my whole app is VB,
so I would really like to find a sample in VB to start with.

[quoted text, click to view]

Michael C
10/29/2007 12:00:00 AM
[quoted text, click to view]

You're FAR better off learning how to translate it to VB or learning how to
work in C#. If you work in C# you can compile it to a dll. Going from VB.net
to C# is very easy. The events are the only bit that is difficult. The
majority of the samples you'll find on the net will be in C#.

Michael

AddThis Social Bookmark Button