Twain scanner.

S

Shawn

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?
 
T

Tom Shelton

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?

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

Shawn

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.
 
M

Michael C

Shawn said:
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.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top