msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scan

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB General Discussions
Author Message
Robert



Joined: 22 Jan 2008
Posts: 4

PostPosted: Mon Feb 25, 2008 6:46 pm    Post subject: Scan Reply with quote

I am using VB6.0 SP5 on XP-Pro SP2

Question
Is there anyway once a document is scanned into my programs folder, that it
can be call from my application.

I would need to be able to call it up and draw on it, and enter notes on the
document.

I need to scan in floor layouts for different house types, and then make
notes on the areas that the Carpenter needs to fix.

Is this possible with VB???

--
Thanks in advance
bob
robert11@mountaincable.net

Archived from group: microsoft>public>vb>general>discussion
Back to top
View user's profile Send private message
kpg*



Joined: 04 Oct 2007
Posts: 7

PostPosted: Mon Feb 25, 2008 4:51 pm    Post subject: Re: Scan Reply with quote

"Robert" wrote in@TK2MSFTNGP02.phx.gbl:

> I am using VB6.0 SP5 on XP-Pro SP2
>
> Question
> Is there anyway once a document is scanned into my programs folder,
> that it can be call from my application.
>
> I would need to be able to call it up and draw on it, and enter notes
> on the document.
>
> I need to scan in floor layouts for different house types, and then
> make notes on the areas that the Carpenter needs to fix.
>
> Is this possible with VB???


Please clairify.

Do you want to:

1) Scan documents from within a VB6 program.

2) Edit images (scanned or not) with a VB6 program.

3) Both.

All can be done in VB6 fairly eaisily. A simple implementation
can be done with minimal code and in under an hour.

Scaning merely involes calling a twain driver (or whatever
it's called) - it does most of the work.

Editing an image (like adding markup or notes) can be done
with a picturebox - though I think it limited to what kind
of images it can load. I have seen intorduction to VB
turtorials that create a paint-like program.

kpg
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Tue Feb 26, 2008 3:55 pm    Post subject: Re: Scan Reply with quote

"kpg*" wrote in message @207.46.248.16...
> Please clairify.
>
> Do you want to:
>
> 1) Scan documents from within a VB6 program.
>
> 2) Edit images (scanned or not) with a VB6 program.
>
> 3) Both.
>
> All can be done in VB6 fairly eaisily. A simple implementation
> can be done with minimal code and in under an hour.
>
> Scaning merely involes calling a twain driver (or whatever
> it's called) - it does most of the work.

After going throught the 500 page document on twain and implementing my own
twain code in C#, I can say with certainty that this is neither mere nor
will be done in one hour. Possibly your planning on using a third party
library but you did not state that.

> Editing an image (like adding markup or notes) can be done
> with a picturebox - though I think it limited to what kind
> of images it can load. I have seen intorduction to VB
> turtorials that create a paint-like program.

Michael
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Tue Feb 26, 2008 3:58 pm    Post subject: Re: Scan Reply with quote

"Robert" wrote in message @TK2MSFTNGP02.phx.gbl...
>I am using VB6.0 SP5 on XP-Pro SP2
>
> Question
> Is there anyway once a document is scanned into my programs folder, that
> it
> can be call from my application.
>
> I would need to be able to call it up and draw on it, and enter notes on
> the document.
>
> I need to scan in floor layouts for different house types, and then make
> notes on the areas that the Carpenter needs to fix.
>
> Is this possible with VB???

I would advise doing this in dot net. The capabilities of dot net with
imaging are massively improved over vb6. VB6 only has a handful of imaging
functions where dot net has literally thousands. If you're looking for
someone to do the work I have a lot of the functionality already working in
C# that you would require (eg twain driver and WIA drivers).

Michael
Back to top
View user's profile Send private message
Steve Gerrard



Joined: 04 Oct 2007
Posts: 1164

PostPosted: Mon Feb 25, 2008 11:52 pm    Post subject: Re: Scan Reply with quote

Michael C wrote:
> "Robert" wrote in message
> @TK2MSFTNGP02.phx.gbl...
>> I am using VB6.0 SP5 on XP-Pro SP2
>>
>> Question
>> Is there anyway once a document is scanned into my programs folder,
>> that it
>> can be call from my application.
>
> If you're
> looking for someone to do the work I have a lot of the functionality
> already working in C# that you would require (eg twain driver and WIA
> drivers).

Why all the twain business? Is it just me, or hasn't the OP stated that the
documents are already scanned, and stored in a folder (probably as TIFF files)?
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Tue Feb 26, 2008 7:31 pm    Post subject: Re: Scan Reply with quote

"Steve Gerrard" wrote in message @comcast.com...
> Why all the twain business? Is it just me, or hasn't the OP stated that
> the documents are already scanned, and stored in a folder (probably as
> TIFF files)?

I noticed that but thought I'd just jump immediately to the next step which
is to have the program scan the docs. Smile
>
>
Back to top
View user's profile Send private message
kpg*



Joined: 04 Oct 2007
Posts: 7

PostPosted: Tue Feb 26, 2008 11:01 am    Post subject: Re: Scan Reply with quote

"Michael C" wrote in@TK2MSFTNGP05.phx.gbl:

> After going throught the 500 page document on twain and implementing
> my own twain code in C#, I can say with certainty that this is neither
> mere nor will be done in one hour. Possibly your planning on using a
> third party library but you did not state that.


Well, yes...I personally would not attempt to write a twain driver in VB6.

I currently have very functional scanning capability built into
my app using EZTwain, downloaded from www.dosadi.com.
Back to top
View user's profile Send private message
kpg*



Joined: 04 Oct 2007
Posts: 7

PostPosted: Tue Feb 26, 2008 11:04 am    Post subject: Re: Scan Reply with quote

"Michael C" wrote in@TK2MSFTNGP06.phx.gbl:

> "Steve Gerrard" wrote in message
> @comcast.com...
>> Why all the twain business? Is it just me, or hasn't the OP stated
>> that the documents are already scanned, and stored in a folder
>> (probably as TIFF files)?
>
> I noticed that but thought I'd just jump immediately to the next step
> which is to have the program scan the docs. Smile
>>
>>

....and I wondered why the OP even mentioned scanning, which is
why I asked for calirification.
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Wed Feb 27, 2008 3:39 pm    Post subject: Re: Scan Reply with quote

"kpg*" wrote in message @207.46.248.16...
> ...and I wondered why the OP even mentioned scanning, which is
> why I asked for calirification.

The OP appears to have lost interest... Smile
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Wed Feb 27, 2008 5:29 pm    Post subject: Re: Scan Reply with quote

"kpg*" wrote in message @207.46.248.16...
> Well, yes...I personally would not attempt to write a twain driver in VB6.

It was a bit of a bugger. Instead of having different API calls for
different functions, like everyone else, they have a single entry point and
the first parameter determines what function you are calling. I've never
seen this used anywhere else.

> I currently have very functional scanning capability built into
> my app using EZTwain, downloaded from www.dosadi.com.

I probably should have done something like that Smile

Michael
Back to top
View user's profile Send private message
Steve Gerrard



Joined: 04 Oct 2007
Posts: 1164

PostPosted: Tue Feb 26, 2008 11:43 pm    Post subject: Re: Scan Reply with quote

Michael C wrote:
> "kpg*" wrote in message
> @207.46.248.16...
>> ...and I wondered why the OP even mentioned scanning, which is
>> why I asked for calirification.
>
> The OP appears to have lost interest... Smile

Since when has that ever made any difference in this group? Smile
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Wed Feb 27, 2008 6:54 pm    Post subject: Re: Scan Reply with quote

"Steve Gerrard" wrote in message @comcast.com...
>> The OP appears to have lost interest... Smile
>
> Since when has that ever made any difference in this group? Smile

LOL! Classic Smile Ok, what can we argue about? Wink

Michael
Back to top
View user's profile Send private message
Karl E. Peterson



Joined: 04 Oct 2007
Posts: 4836

PostPosted: Wed Feb 27, 2008 7:50 pm    Post subject: Re: Scan Reply with quote

Michael C wrote:
> "Steve Gerrard" wrote in message
> @comcast.com...
>>> The OP appears to have lost interest... Smile
>>
>> Since when has that ever made any difference in this group? Smile
>
> LOL! Classic Smile

You *laughing* at Classic, boy!?!

> Ok, what can we argue about? Wink

Smile
--
..NET: It's About Trust!
http://vfred.mvps.org

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB General Discussions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group