×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Display thumbnail view of an image

Display thumbnail view of an image

Display thumbnail view of an image

(OP)
How do I display thumbnail view of an image in a VB form (VB6.0)?

Thanks,

Alex
Replies continue below

Recommended for you

RE: Display thumbnail view of an image

Load the image file into an image object on the form.
Set Image.Autosize false and then you can set the height and width.

RE: Display thumbnail view of an image

(OP)
Hi, FrancisL:

Thanks for your repsonse!  I can display a picture through an image object on VB form.  But I do think this is an efficient way to display a preview (a thumbnail view).

Alex

RE: Display thumbnail view of an image

Image controls are quite efficient for most purposes, you can use an array to show many images too.
There are of course many other ways, but I don't know enough about your application to be more helpful.

RE: Display thumbnail view of an image

(OP)
I have a very simple database program for pictures using VB6.0.  I would like to display a thumbnail view as I navigate through records.  Most image software, including Windows Explorer, have ability to show pictures in thumbnail view.  I do not think they load entire images to image control object.

Thanks,

Alex

RE: Display thumbnail view of an image

The first time you open up a folder containing pictures in Windows explorer, it creates thumbnail images and saves them to a file (thumbs.db if I remember right, and I think it is a hidden file by default). The next time you open the folder, the thumbnails show up quickly since they have been cached.

So, using FrancisL's suggestion you could load the picture to an imaging control and save the image at the new (thumbnail) size for later use.

RE: Display thumbnail view of an image

I think they probably do. Have a look at my software, ControlDraw - it is is in part a database containing images.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close