|
-
Aug 16th, 2001, 09:59 PM
#1
Thread Starter
Fanatic Member
Image Control
Hi Everyone,
I am currently using the Kodak Image Scan control to scan a picture from a scanner. Once the picture has been scanned I would like the picture to be displayed inside of an image control box on the Visual Basic form. Any ideas on how to go about doing this? I would appreicate any help. Thanks.
Ace
-
Aug 17th, 2001, 10:24 AM
#2
Member
I havent got a scanner on my system so i cant test this but below are two suggestions, let me know if either of them work.
Method 1:
This line should be run before your call StartScan or equivilent.
Replace ImgScan1 with the name of your Kodak Scan Control and replace Image1 with the name of your Image Control
Code:
ImgScan1.DestImageControl = Image1
Method 2:
This line should be run after the scan has been completed, i.e. on the ScanDone event of the Kodak Scan Control.
Again replace ImgScan1 with the name of your Kodak Scan Control and replace Image1 with the name of your Image Control
Code:
Image1.Image = ImgScan1.Image
As i said i cant test these so please give me some feed back on whether they work or not.
Grant French
[email protected]
-
Aug 17th, 2001, 03:24 PM
#3
Thread Starter
Fanatic Member
Hi gfrench,
Thanks for your response. Neither of those two options were successful though. Does anyone have any other ideas as to how to get the scanned image to appear in an image box after it has been scanned. Thanks for any help.
-
Aug 17th, 2001, 07:56 PM
#4
Member
I believe that we made an in-house photo editing program using the Kodak controls. I wasn't part of it, but there should also be a Kodak Photo Editing control. Make that invisible, transfer the scanned kodak image into the edit control and then option 2 (above) should work. Can't test it though, sorry.
ex:
Image1.Picture = Kodakphotoedit1.Image (????)
Executive Project Director
Technosoft Enterprises
Any of my opinions stated on this or any other forums do not represent the official policy of Technosoft Enteprises, unless otherwise specified.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|