|
| Author |
Message |
Robert
Joined: 22 Jan 2008 Posts: 4
|
Posted: Mon Feb 25, 2008 6:46 pm Post subject: Scan |
|
|
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 |
|
 |
kpg*
Joined: 04 Oct 2007 Posts: 7
|
Posted: Mon Feb 25, 2008 4:51 pm Post subject: Re: Scan |
|
|
"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 |
|
 |
Michael C
Joined: 04 Oct 2007 Posts: 335
|
Posted: Tue Feb 26, 2008 3:55 pm Post subject: Re: Scan |
|
|
"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 |
|
 |
Michael C
Joined: 04 Oct 2007 Posts: 335
|
Posted: Tue Feb 26, 2008 3:58 pm Post subject: Re: Scan |
|
|
"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 |
|
 |
Steve Gerrard
Joined: 04 Oct 2007 Posts: 1164
|
Posted: Mon Feb 25, 2008 11:52 pm Post subject: Re: Scan |
|
|
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 |
|
 |
Michael C
Joined: 04 Oct 2007 Posts: 335
|
Posted: Tue Feb 26, 2008 7:31 pm Post subject: Re: Scan |
|
|
"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.
>
> |
|
| Back to top |
|
 |
kpg*
Joined: 04 Oct 2007 Posts: 7
|
Posted: Tue Feb 26, 2008 11:01 am Post subject: Re: Scan |
|
|
"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 |
|
 |
kpg*
Joined: 04 Oct 2007 Posts: 7
|
Posted: Tue Feb 26, 2008 11:04 am Post subject: Re: Scan |
|
|
"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.
>>
>>
....and I wondered why the OP even mentioned scanning, which is
why I asked for calirification. |
|
| Back to top |
|
 |
Michael C
Joined: 04 Oct 2007 Posts: 335
|
Posted: Wed Feb 27, 2008 3:39 pm Post subject: Re: Scan |
|
|
"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...  |
|
| Back to top |
|
 |
Michael C
Joined: 04 Oct 2007 Posts: 335
|
Posted: Wed Feb 27, 2008 5:29 pm Post subject: Re: Scan |
|
|
"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
Michael |
|
| Back to top |
|
 |
Steve Gerrard
Joined: 04 Oct 2007 Posts: 1164
|
Posted: Tue Feb 26, 2008 11:43 pm Post subject: Re: Scan |
|
|
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...
Since when has that ever made any difference in this group?  |
|
| Back to top |
|
 |
Michael C
Joined: 04 Oct 2007 Posts: 335
|
Posted: Wed Feb 27, 2008 6:54 pm Post subject: Re: Scan |
|
|
"Steve Gerrard" wrote in message @comcast.com...
>> The OP appears to have lost interest...
>
> Since when has that ever made any difference in this group?
LOL! Classic Ok, what can we argue about?
Michael |
|
| Back to top |
|
 |
Karl E. Peterson
Joined: 04 Oct 2007 Posts: 4836
|
Posted: Wed Feb 27, 2008 7:50 pm Post subject: Re: Scan |
|
|
Michael C wrote:
> "Steve Gerrard" wrote in message
> @comcast.com...
>>> The OP appears to have lost interest...
>>
>> Since when has that ever made any difference in this group?
>
> LOL! Classic
You *laughing* at Classic, boy!?!
> Ok, what can we argue about?
--
..NET: It's About Trust!
http://vfred.mvps.org
|
|
| Back to top |
|
 |
|