Programming hell?

Well I am currently developing an application for a customer in visual basic .net 2007. The application has to load a series of thumbnails pictures from a directory. The directories contain the original sized pictures (measuring up to 3.5 MB a piece). I decided to put resized pictures into my imagelist, so instead of 3500*2400 something they get to be 120*80. I did this to keep the memory usage low. When the user double clicks it opens a full screen view of the original picture.

This part of the program works just fine. Until I decide to load a really huge folder (750 pictures +- 1.3GB). It takes a whopping 5 to 7 minutes to load every single thumbnail.

I’m trying to find an optimized way to load in the thumbnails but so far I haven’t had any luck, the program just grabs all cpu activity for itself. I’ve consulted several other programmers but none have got a clue how to increase the speed.

I guess I’ll just have to rethink the whole thumbnail thing. Sigh…

Well here’s a picture of what I’ve got so far:

developmenthell.jpg

Leave a Reply