473,472 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows Thumbnail Control

I need to have a thumbnail control on a windows form. I've tried a few
activex thumbnail utilities. The best I have used so far is this one:
http://viscomsoft.com/products/imagethumbnailcp/

The problem though is that the refresh is really slow. Has anyone had
experience in writing their own thumbnail control or found any other
useful activex controls that can by used in vb.net 2005?

Thanks!
Dustin
Mar 20 '06 #1
3 6068
Dustin, can't you just use

Dim bmpThumb As New Bitmap("yourfilename.jpg")
bmpThumb.GetThumbnailImage()

to get thumbnails?

Then just show them? Why would you need or want a control? Seems like a
lot of overhead. What do you want to display the thumbnails in a ListView?

If so, why not do the above for all image files in a directory, add them to
an ImageList control, attached to the listview and show them that way?

HTH,

Shane

"Dustin Davis" <du**********@gmail.com> wrote in message
news:um**************@TK2MSFTNGP09.phx.gbl...
I need to have a thumbnail control on a windows form. I've tried a few
activex thumbnail utilities. The best I have used so far is this one:
http://viscomsoft.com/products/imagethumbnailcp/

The problem though is that the refresh is really slow. Has anyone had
experience in writing their own thumbnail control or found any other
useful activex controls that can by used in vb.net 2005?

Thanks!
Dustin

Mar 20 '06 #2
sounds like it could work. Can you tell me how to add the bitmap to the
listview?

Thanks,
Dustin

SStory wrote:
Dustin, can't you just use

Dim bmpThumb As New Bitmap("yourfilename.jpg")
bmpThumb.GetThumbnailImage()

to get thumbnails?

Then just show them? Why would you need or want a control? Seems like a
lot of overhead. What do you want to display the thumbnails in a ListView?

If so, why not do the above for all image files in a directory, add them to
an ImageList control, attached to the listview and show them that way?

HTH,

Shane

"Dustin Davis" <du**********@gmail.com> wrote in message
news:um**************@TK2MSFTNGP09.phx.gbl...
I need to have a thumbnail control on a windows form. I've tried a few
activex thumbnail utilities. The best I have used so far is this one:
http://viscomsoft.com/products/imagethumbnailcp/

The problem though is that the refresh is really slow. Has anyone had
experience in writing their own thumbnail control or found any other
useful activex controls that can by used in vb.net 2005?

Thanks!
Dustin


Mar 27 '06 #3
Something like this should work.

Dim lvw As New ListView
Dim iml As New ImageList
lvw.BeginUpdate()

'do this again and again for each item; in some loop
iml.Images.Add(New Bitmap("c:\mybmp.bmp"))
lvw.Items.Add(New ListViewItem("Some Item", 0))

lvw.EndUpdate()

lvw.refresh? maybe

HTH,

Shane

"Dustin Davis" <du**********@gmail.com> wrote in message
news:Oi**************@TK2MSFTNGP10.phx.gbl...
sounds like it could work. Can you tell me how to add the bitmap to the
listview?

Thanks,
Dustin

SStory wrote:
Dustin, can't you just use

Dim bmpThumb As New Bitmap("yourfilename.jpg")
bmpThumb.GetThumbnailImage()

to get thumbnails?

Then just show them? Why would you need or want a control? Seems like a
lot of overhead. What do you want to display the thumbnails in a
ListView?

If so, why not do the above for all image files in a directory, add them
to an ImageList control, attached to the listview and show them that way?

HTH,

Shane

"Dustin Davis" <du**********@gmail.com> wrote in message
news:um**************@TK2MSFTNGP09.phx.gbl...
I need to have a thumbnail control on a windows form. I've tried a few
activex thumbnail utilities. The best I have used so far is this one:
http://viscomsoft.com/products/imagethumbnailcp/

The problem though is that the refresh is really slow. Has anyone had
experience in writing their own thumbnail control or found any other
useful activex controls that can by used in vb.net 2005?

Thanks!
Dustin


Mar 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Johnny | last post by:
Hello, I am looking for someone to guide me in the right direction. What I want to do is take a "screenshot" of a web page programatically as IE sees it, using C#? I had previosuly used the...
1
by: Kanaiya | last post by:
hello i want to show thumbnail image view control which display captured images on this control but in small size. it is possible to add any no. of images in that control. and aslo possible to add...
3
by: Vagabond Software | last post by:
I'm trying to display thumbnail images in a Listview that look more like the Windows thumbnail view. Everything is working pretty good, but my thumbnails are decidedly not like the Windows...
2
by: David Elliott | last post by:
I am creating a control to display GIF/JPEG images for my website. The control has a Panel to hold the images. I would like to perform the following. 1) store the original on disk and create a...
1
by: Xah Lee | last post by:
The following is a program to generate thumbnail images for a website. Useful, if you want to do that. It is used to generate the thumbnails for my “Banners, Damsels, and Mores” project...
2
by: Milagro | last post by:
Hi, I'm using the code below to create thumbnails from photos. The code works fine and thumbnails are created. However, thumbnails of vertical photos are oriented as horizontal photos. More...
2
by: RB | last post by:
Hi there, I'm having a problem with an ASP.NET/VB.NET Control I am writing. The control is a simple gallery control, which shows a set of thumbnails (using a DataList), and a main image of the...
8
by: Arno R | last post by:
Hi all. When I need to search for pictures, I always have too choose thumbnail-view manually. Is it possible to open the common dialog in thumbnail-view programmatically? Example ?? At the...
3
by: theplague | last post by:
Hi guys, I've tried to create an user control that contains a picture box and have also created a similar control that paints an image inside a panel control with a border to make it look like a...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.