Solved

Image Thumbnailer {300 points}

Posted on 1999-01-12
9
200 Views
Last Modified: 2010-05-03
Hello,
I am looking for information on how to build a small
Image Thumbnailer will the following aspects.

- Scans current directory for BMP, PNG, GIF, JPG
- Displays the Image in a 100 x 100 Thumbnail
- Has a option to save scaned Directory for faster access.
- Is also able to open this saved file.

Should you have any information you think could be useful,
please post it as a comment.
If your information was valuable,
I will then award you with 300 points.

No 3rd party controls, VB code only.
0
Comment
Question by:vbvpg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 4

Expert Comment

by:chabaud
ID: 1455675
To scan a directory use API calls (FindFirstFile...) to scan directory recursively.

To stretch the images to 100x100 in VB, you can use the PictureClip control. (PICCLP32.OCX)

Then you can save bitmaps to .bmp.

I could send you some samples...
0
 
LVL 3

Expert Comment

by:HATCHET
ID: 1455676
vbvpg,

Do you make a practice of having other programmers write your programs for you?  Is this a school assignment?  

Try posting QUESTIONS, not requests for full working program code.

HATCHET
0
 
LVL 2

Expert Comment

by:spenner
ID: 1455677
Try looking at the extended file dialogs example at the ccrp home page
http://www.mvps.org/ccrp/

The tool is at
http://www.mvps.org/ccrp/controls/ccrpfiledlg.htm
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Expert Comment

by:parduz
ID: 1455678
1st: excuse my bad english, i'm italian :-(

2nd: I've tryed to make an app similar to your problem, but with a different approach:
I have the filelist on the left, and doubleclicking a image file i fill one of the twelwe imagebox i have on the right, using a hidden picbox to read the original size of the image, reducing the  major dimension to 100 and calculating the other dimension, to right scale the imagebox.
After this, i can reorder, move, copy or rename the files loaded in the imageboxes.

If you need the thumbs of all files (like ThumbsPlus), the problems are various:
How scroll the "Thumbs windows" at reasonable speed? (this is the reason that i have only 12 thumbs)
How save the thumbs?
i think that save a bmp of each thumbs can be a solution.
Maybe you can "group" your bmp saved files in a unique big file, reading the binary data from each bmp file, and attaching them to a big file, marking, on a text file, the start and the ending position of each thumb.
I hope you can understand me.
parduz

0
 
LVL 4

Expert Comment

by:chabaud
ID: 1455679
Before any else comment, where are the 300 points ?
0
 
LVL 1

Expert Comment

by:xer_soft
ID: 1455680
This is a joke....
0
 
LVL 44

Expert Comment

by:bruintje
ID: 1455681
well if its is, it's quite educating to me..............:O))))
0
 

Author Comment

by:vbvpg
ID: 1455682

To those who question my legitimacy,

I do feel ANY obligation to explain my intentions nor
sould anyone have the right to do so except for the personel
of Experts Exchange themselves.

I shall also ask you all, to Ignore this question as I have found
my answer.

To those interested,
I decided to use the ListView example from VBNet to display
the images.
http://www.mvps.org/vbnet/code/comctl/lvdemo4.htm
The example shows how to add the 16x16 icon of a file.

I replaced that code with the LoadPicture event.




0
 
LVL 44

Accepted Solution

by:
bruintje earned 0 total points
ID: 1455683
Great, and thanks for your comment, if there's is an answer they can store this as an PAQ for free and everyone to look at..and learn from..
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to debug this code 7 65
Excel - Save a copy of work book 13 96
MS Date Picker 64 bit 32 bit issue 12 73
Set WorkSheet  not Working 9 62
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question