Solved

Image Thumbnailer {300 points}

Posted on 1999-01-12
9
197 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
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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

810 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