Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Image Scanning Control


hi..
Is there any free image scanning ActiveX control.. with which i can scan any image through a TWAIN compliant scanning device(Scanner or web cam). Kodak image scan control works fine but it is not supported in WinXP. is there any ActiveX control which works with all the versions of windows... Win95 to WinXP.
Any help would be appreciated.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
A Help On Scanning Using Kodak Image Scan Control
DO ANY ONE KNOW HOW TO SCAN A HANDWRITTEN DOCUMENT
IN BLACK&WHITE MODE USING KODAK IMAGESCAN CONTROL?.
PLEASE SEND ME THE CODE.
I TRIED TO DO IT USING THE setpagetypecompressioninfo METHOD BUT THE IMAGE IS COMING IN COLOR ONLY.
I'M NOT SURE THAT THE SETTING I GIVEN IS CORRECT.
PLEASE GIVE ME THE CORRECT CODE.
THANKS
LIJU
EMAIL: LIJU_JOHN@YAHOO.COM

Scanning An Image
I've got a problem with the scanning an image and save it to a default place.

my source code:
---------------------------------------------------------
If ImgScan1.ScannerAvailable Then
ImgScan1.ShowScanPreferences
ImgScan1.StartScan
ImgScan1.ScanTo = FileOnly
ImgScan1.Image = "C:image.tif"
Else
MsgBox "Scanner not available", vbOKOnly + vbInformation, "not available"
End If
Unload Form1
---------------------------------------------------------

The scan-dialog opens but if I take a snapshot it doesn't save the image to the harddisk. No error occurs!

some solutions?

regards da_brain

VB Image Scanning
Hi, I'm trying to create, or find, a VB app that will allow for scanning of images through a scanner and send these images to a database (MS SQL). Well, it will store the images on a server, but the link to the images will be stored in the database. Any ideas?

Scanning Image In VB
Dear,

I'd used ImgScan.ocx and ImgEdit.ocx on my app. It work well on mine (Win2000) but can't on client (Win98 - can't register imgscan.ocx & imgedit.ocx while installation process) I think this control lack of resource document.

Have someone know another ActiveX control for scanning process. If it's free ware, I'll appreciate

Thank in advance

Scanning An Image
hi,
I need to scan an image using a scanner in my program. is there some dll or control to do that (I don't need to have direct access to the scanner. it can be done through the default driver)?

Thanx.

----------
The @host is everywhere!
----------

Image/Document Scanning In Vb6
Hi!
I want to scan an Image/Document using visual basic's form and want to set customized resolution, size and type of that document. Means Controlling a scanner using visual basic form and saving document in a specified directory.

Can any one tell me how to do that and where to start and what should i know ?

Wang Image Scanning
Hi!

I'm getting confused with how to scan,show,store (if possible ...as JPG) by using Wang Image Scan controls
Any help, source available?

Scanning Image Through Visual Basic
hello everyone,
I wana Visual basic program that will scan the image from USB scanner to the size of the picture mean also crop that image.
I need any activex or whatever you people suggest. I will be very thankful to you .
waiting,
-S

Scanning Using Kofax Image Controls
Hello, I am using KODAC i80 scanner for developing an application in Visual basic scanner. I am using KOFAX imaging controls for this purpose. But While initializing scanner I am getting error as "the ordinal 551could not be located in the dynamic link library kcl310.dll "

Kodak ImageScan Control And Greyscale Scanning
hi,

I've created an image program that will scan in documents using the Kodak ImageScan control that comes standard with Win98. The scanner takes too long to scan in colour (around 45 seconds) and if I scan in using greyscale it is a much more satisfactory speed.

Problem is I can only get it to scan in greyscale using the software that came with the scanner (HP5400c) and if I try to use my program and the ImageScan control, it comes through in colour anyway and the file is huge (13.6MB)

I use the following code to scan the image:

With ImgScan1
.FileType = TIFF
.SetPageTypeCompressionOpts CustomSettings, Gray8Bit, JPEGCompression, JPEGMedMed
.Image = 'filename
ret = .StartScan
End With




i've also tried the following setcompressionoptions which hung the program or didn't work

.SetPageTypeCompressionOpts CustomSettings, Gray8Bit, LZWCompression, NoCompInfo
.SetPageTypeCompressionOpts CustomSettings, Gray8Bit, LZWCompression, LZWInfo
.SetPageTypeCompressionOpts CustomSettings, Gray8Bit, Uncompressed, NoCompInfo




If anyone could assist me I would be very greatful.

Zeb

Viewing Image From Database Without Data Control And Bound Image Control (VB6).
Hi, everyone. I'm new here and this is my first call for help.

I am making a database app in VB6 where I want everything to be accessed through VB code (without using a data control and bound controls), using Jet statements (DAO 3.51) . The only thing that escapes me so far are the images (jpegs) stored in the database. Anybody know how to show an image from a database in an image control without using a data control and bound image control (using just VB code)?

The images where stored by a small utility I made as a helper to the other program. It basically stores a binary copy of the jpeg files, in batch mode, into a binary field of an access table, along with some other info.

Image Control Generates Error If Image's Path Is Assigned To Picture Property
hi...
I m storing .jpg file path in a field 'ImagePath' which is of type 'Text' of say table A. Now i want to display that .jpg file whose path is stored in the table A into an Image Control. the picture property of the image control doesn't takes the path string... and prompts an error message that object is required.. ! how to display the image in the Image control.

thanx n regards
IPS

I Need To STOP Image FLICKERING! The Regular Image Control Flickers
So heres the problem....

I'm working on a skinning module for my software and i have menu pages,, on each page i move image controls around so that I can have multiple pages of buttons....

When I click the different menu buttons the images flicker, its not so bad on a fast computer, but on slower computers it really shows.

Does anyone have ANY idea of how to stop this flickering? Ive tried putting the controls on a picturebox / frame, and making the frame invisible/moving it off the screen, but that doesnt work... no matter what I do the images always flicker.

I would use the picturebox because that doesnt flicker,, but it doesnt support transparencies and theres always a box around the image.


Any ideas would be greatly appreciated.

Thanks!

Capture A Control And Send The Image To A Clipboard Or Image File
hi,
there is any way to capture a control and send the image of that control to a clipboard or image file?
thanks a lot for your help

Storing Image In Access Database From Image Control /Picture Box
I am trying to store/retrieve pictures (bmp,jpeg) as fields in a
database record. Other than GetChunk/AppendChunk is there a way to directly
assign the picture to/from a picture control to a database field?
this is b' cos i hv n image in a picturebox/ image control from where i m unable to have the filepath to assign the appendchunk method ..


Pl Help,

upendra

BitBlt Rendered Image TO Image Control's .Picture
Hi! Is there a way to set an image rendered using BitBlt to an Image control's .Picture property? I've been trying many ways for a while and I can't seem to make it work...

Thanks in advance

Scroll An Image Inside Image Control Or PictureBox?
How do I scroll a picture horizontally inside Image Control or PictureBox Control? Thanks

How To Pass Image Name To Image Control In Data Reports
Hi,
I want to set the image to image control in Data reports.
Here the thing is, i don''t want to set image through properties window.I want to change the image based on condition in view code. I am not able set the name in view code of datareport
I would like to set the image name as

if productid="app101" then
image. ="apple.jpg"
elseif.......
end if

here my intention is, i want to display image for each product which are stored in a folder and whose name are kept in databse...

Since there is no option to bind image control to databse field, we have to select image to imagecontrol dynamically...

Load, Resize And Center Image In Image Control?
I would like to create thumbnails quickly. I have used the method of loading an image into an image control, getting it's size to determine the ratio, and resize it but it's too slow.

I understand you can acheive much faster results using the StretchBlt api. However, I don't have the slightest clue on how to do it.

Here's what I would like to accomplish:

Load an image at run-time into an image control and have it resize and center quickly, maintaining the correct aspect ratio of the original image.

I would appreciate it if you could post some sample code or point me in the right direction..

Thanks,

Dan

Use An Image Control Or A Picture Box And Resize Image Smaller
I've read numerous posts here about what i'm trying to do, but this being the first time I've tried this I could use a little kick start!  Or you can just beat me up and abuse me, but help me please!

I'm trying to make a little preview area on the form or in a picture box or image control whatever works best ( or easiest).

ALL of my images are larger than my display area.  I need to make them smaller.  My current image control has a height of 1935 and a width of 3015.  So far I've loaded the picture but with a picture box the image is way to big for the amount of space and the image control stretches to make the image fit even with stretch set to false. TIA

CODEPrivate Sub File1_Click()


Image1.Picture = LoadPicture(g_PicPath & File1.FileName)

End Sub

How To Load Image On Image Control On Datareport From.....??[Not Resolved Yet]
-I have one image control (pic) in main form
-I have one command button (cmdReport) in main form
-I have one data report which contains one image control (imgRpt)
-All I want to do is when I click cmdReport, image control(imgRpt) on datareport takes image from the imagecontrol (pic) from main form.

Will you tell me how to do that?

Sabin Kumar Chhetri

Edited by - saracjl on 4/27/2005 8:18:14 PM

Linking An Image From A DB To A Image/picture Control And Back
I'd like to store images in an access database and retrieve them using a program in VB.

I try to set the picture property as a OLE field of an access database but it has no effect.

Any suggestions?

Help, Image Wont Show In Image Control!
For some reason, the image control does not show the JPG file that I am trying to show.

I am using:

Set imgPreview.Picture = LoadPicture(Destination)


The value of Destination is:
C:Documents and SettingsJaime GonzalezMy DocumentsVisual Studio ProjectsImage Downloaderimages01.jpg

I added a breakpoint and did a print.debug to print the value if imgPreview.Picture after setting the image and this is what it showed:
-351990026

I have tried many times and it does not show anything in the image control. I had the same problem with the picturebox control. I must be doing something wrong. What could it be?

Thanks in advance.

Test For Valid Image For Image Control
I did a search but didn't come up with this. I've got an image control (VB6 under XP HOME) on a form and there is a command button to allow the user to search for an image. Of course, there is an error if they should select say a .txt file or something else. How can I check for a valid image?

The MSDN disks I have say an image control can only use bitmap images ... I've been using jpgs without a problem.

TIA
Ken

Save Image Using Image Edit Control
Hi,

I'm trying to save a picture using the image edit control that comes with VB6. I am using the SaveAs method to save the .jpg file under another name but I keep getting a 321 error Invalid File Format.

Here's my Code:
ImgEdit1.SaveAs "C:My Documents" & Text1.Text & ".jpg", wiFileTypeJPG

Any help is appreciated

THanks
ML

Fitting Image In Image Box Or Picture Box Control
Friends,
My problem is like this.
I have a file dialog control and an image control. I want to browse for a
picture file using the file dialog control and once the file is selected, I
want to display the image in the image control.
The problem is that the image goes way beyond the image box.
Setting the value of image.stretch to True does not seem to help.
Could you help me out?

-Regards,
Arunabha

RESOLVED: What Is The Best Way To Remove An Image From An Image Control?
I load an image into the Image control like the following:

Code:Set Image1.Picture = LoadPicture("c: mp.jpg")

When I want to remove the picture from the Image control, I do the following:

Code:Set Image1.Picture = LoadPicture("")

.... however, should I be doing this instead?

Code:Set Image1.Picture = Nothing


.... or possibly some other logic?


I am encountering a problem in my application which seems to be caused by the Image control picture not unloaded correctly. I have not had a lot of time to dig around to try to locate the cause, but I wanted to make sure my unloading picture handling was sufficient before I spent time looking for another cause of the problem.

Also, what does using the "LoadPicture("")" actually do? I mean, does the Image control think some "NULL" thing is loaded, so the image control does not really think it is empty? Curious



Edited by - uncletr on 1/30/2007 12:53:49 PM

Part Of Image Or Picture To Another Image Control
I want to take part of one picture of picture control to another picture control and save it to JPG. Please help me. I tried lot.

Flip Image In Image Control
Hi I'm looking for a way to flip the image in an image control. All the solutions I found work with pictureboxes. I need the transparancy of the image control, that is why I can't use a picturebox. Anyone an idea or a solution?
Thank you

Image Manipulation In Image Control
Hi,

I want to change the RGB colour values of certain pixels in a .gif image inside an image control. Right now I am trying with the GetDIBits/StretchDIBits API Calls, but cannot because image control does not have a dc.

1) Is there anyway i can get the image control to behave like a 'heavy' control or am i stuck using pictureboxes?

2) Is there a simpler way to work with image pixels? The GetPixel and SetPixel API Methods are a bit too slow and VB's Pixel routines are WAY to slow...

Image Manipulation / Image Control
I'm new to the list so hello everyone. I'm working on a vb6 application
and I've ran into a brick wall with regard to image manipulation. Basically,
I'm loading a jpg image into an image control. I'm trying to rotate the
image 180 degrees before displaying. I can accomplish this easily using
picture box control by using win32 api to modify data. But because the
image control doesn't have a dc, I can't get it to work. I tried using
a picture box as a 'middle man' but when I set imagectl.picture = picbox.picture,
the original unmodified image is displayed. Anyone know of a workaround?
Or am I limited to using a picturebox? Any tips apprecitated.

Grant

How To Load An Image To A Image Control
Hi all im storring some jpegs in a folder and want to display/load it in to an image control by specifying the path. How do i do this?

Displaying URL Image In Image Control
I have a image url
can i display it in image control and how???

It can be displayed in webbrowser control
but i feel web browser control is bit heavy, so can it be displaye din image control.

Image Size From Image Control...
Hi,

Hi, I wrote a simple app that loads an jpg image in an image control, but I need to know what the width and height of the image are... the imagecontrol is set on strectch = true.

Any help would be appreciated.

Thanks

Finding The Size Of The Contents Of An Image Control Or A PictureBox Control
How does one find that? Once the user selects an Image to be displayed, I want to know the size of that image. Is it possible to detect the size of the image? It sure must be stored somewhere, right? Similar threads I have seen all point to BitBlt and other Bitmap API and they are way over my head!

To be precise, I want to copy an image to a byte array, but I am stumped when it comes to re-dimensioning the array. This is for a Winsock application. Currently I am writing the image to a temp disk file and reading it back into a Byte Array. I want to avoid that

Thanx for you help in advance

Need Help With Useing A Mask Color With A Pic Control Or Image Control
I need to be able to use a mask color... I have found some ocx controls but I dont want to have to include it with my setup program and stuff... is there a code way to do this or a open source control that I can compile into my program...

or how can I just set a transparent background useing photoshop or gimp... or even mspaint

Connecting The Image List Control To The Toolbar Control
Hello
can you guys tell me how to connect the image list control to the toolbar control. In the book i am going through, it says i got to go to the toolbar Property Pages dialog box's ImageList option to assin images to each toolbar button.


but i can't seem to change the ImageList

Resolved: Opening An .exe In A Control Such As The Image Or Frame Control
Hello everyone,

It's not a critical problem by far However, I was just wondering if there was an easy way or even a way to open an exe program in a frame, Image, or any other control. I know the easy way to open an exe is the shell command.


If there is a way second part could you run like program switches with the shell or a different way. /s /f /d


Thanks in advance

I appreciate any information.

Dan Schuessler

Cant Bring Shape Control In Front Of Image Control
Guys I have a huge huge problem.

Embedded visual basic 3;

I can't seem to bring my square shape in front of a image(in works in forms development, but once it is .vb in my palm, no work) I can do it previously but now I can't! I tried a lot of settings, it seems like just got corrupted!

1. Is my shape or image settings wrong?

2. Do I have to reinstall evb3? Oh no!

[VBCODE]VERSION 5.00
Object = "{F7346713-70C5-11D1-9AC9-00C04FAD5AEC}#1.0#0"; "msceimage.dll"
Begin VB.Form Form1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Form1"
ClientHeight = 3585
ClientLeft = 60
ClientTop = 810
ClientWidth = 3480
ForeColor = &H80000008&
ScaleHeight = 3585
ScaleWidth = 3480
ShowOK = -1 'True
Begin VB.Shape Shape1
BackColor = &H00000000&
BackStyle = 1 'Opaque
DrawMode = 1 'Blackness
FillStyle = 0 'Solid
Height = 855
Left = 240
Top = 960
Width = 1575
End
Begin IMAGECtl.ImageCtl ImageCtl1
Height = 3375
Left = 600
TabIndex = 0
Top = 0
Width = 2415
_cx = 4260
_cy = 5953
Picture = ""
Stretch = 0 'False
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Form_OKClick()
App.End
End Sub
[/VBCODE]

Image Control Over Picture Control
hi there

how do you get a image control over a picture control as it always wants to go behind it.

Bring To front does not work as well as Zorder does not work.

Note: I dont want the image control in the picture control just on the outside this is because the image control will not be updated but the picture box will be and would cause flickering.

You see I want the image control on half the GameArea control and half on the form this will look better.

thanks the pig

Label Control Over An Image Control
I have an app in which I have several label controls over an image control. The image control contians a .gif image. In the Mouse_Move events of the labels, I'm changing the color of the font when the mouse is over them and in the form Mouse_Move event I'm changing the color of the label font back to the original color. The .gif image has a light yellow background. The problem I'm having occurs when the mouse moves over the labels - their backgrounds briefly flash white before the font color changes. Is there a way to prevent this? The reason I'm using an image control is to compensate for different screen resolutions on end user computers - the .gif image resizes based on that resolution.

Label Control Over An Image Control
I have an app in which several label controls are over an image control. The image control contians a .gif image. In the Mouse_Move events of the labels, I'm changing the color of the font when the mouse is over them and in the form Mouse_Move event I'm changing the color of the label font back to the original color. The .gif image has a light yellow background. The problem I'm having occurs when the mouse moves over the labels - their backgrounds briefly flash white before the font color changes. Is there a way to prevent this? The reason I'm using an image control is to compensate for different screen resolutions on end user computers - the .gif image resizes based on that resolution. The background color of the form is white - I need it to be that color.

Image Control
Hi,

I have an image control on a form, is it possible to "zoom" the picture like windows picture viewer does?

the only zoom i can find concerns printer properties and i just want it to zoom for viewing. ( So that i can read the back of a DVD cover )

any pointers will be appreciated
Thanks
John

Image Control Help...
I need to use the Image Control component, but I am having trouble finding it on my system. Do any of you know what the title of it is or what the filename of the OCX is?

Image Box Control
I am using image controls as buttons on my form because I am using a custom interface design, however, it seems image boxes dont have a tab order - so I cant tab to the button and press enter to activate it.
Picture boxes do have a tab order but I cant resize them to fit the graphic perfectly and they cant have transparency - any suggestions?

Image Control
can animated gif's be displayed in Image control - i know it displays an animated gif as a static image...thanks

Image Map Control For VB
This control works just like a client side HTML Image Map.

You load up an image and then define regions (rectangular, circular or polygonal) and thereafter the control raises click and mouseover evenst for these regions.

This is a simple way to get the kind of rich user interface that users are getting used to through internet use.

The code is free, but I'd appreciate a credit if you use it in an application.

Sláinte,
Duncan
Merrion Computing Ltd

Image Control
I need to visualize a .wmf file and I need to keep the scale of this image and I can't use the msforms 2.0 objects librairy image control.
Somebody knows a control I could use ?

Image Control
Hi
Can u advise me what are the good
image controls that can i use in my project.

i want to work with tiff images.
Avnish

Copyright © 2005-08 www.BigResource.com, All rights reserved