Thumbnails

Cyber_Zeus
06-09-2006, 04:37 AM
hi guys.
i have a app that retrieves columns from a database table.
in a field of the table, there is the name of an image file (.tif) or a PDF file (.pdf).
i tried to display thumbnails with a PictureBox control, that displays correctly tif files, but gives an "Insufficient Memory" error when i load a PDF into it.
does anyone have an idea of how it can be done?

thanx
Cyber_Zeus

wayneph
06-09-2006, 07:42 AM
What are you trying to use for generating the PDF's thumbnail? I didn't think it works like a normal image format...

Cyber_Zeus
06-09-2006, 08:11 AM
no, u didn't understand. a column in the database has the path to tif images and pdf files, i.e.: C:\MyPDF\PDF1.pdf. this PDF file exists and i'd like to view it on the form.
ok?

wayneph
06-09-2006, 08:45 AM
.NET doesn't have a builtin control that supports displaying PDF files. I know there are some 3rd party controls out there that can do it, but since I've never used one, I can't recommend anything specificially. (Some may be free, but I'd expect the better ones aren't).

In searching I ran across this article: http://www.freevbcode.com/ShowCode.asp?ID=7066&NoBox=True that claims to be able to do it, but again, since I haven't tested it, I can't say for sure.

Cyber_Zeus
06-09-2006, 08:48 AM
thank you, i'll try

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum