PDA

View Full Version : Thumblist question


volt
04-09-2006, 10:41 AM
I am wondering if thumblist will load png images from a website, I have the full addresses in the numbered table... But its not working?

Thanks

volt
04-09-2006, 04:49 PM
Like this is what my table for addfiles is,

http://host.com/0409200101502hs.th.png
http://host.com/0409200112279vf.th.png
http://host.com/0409200202384kr.th.png
http://host.com/5472/0420060202508hn.th.png
http://host.com/3168/0420060203143sf.th.png
http://host.com/0409200205496ie.th.png

volt
04-10-2006, 05:43 PM
Ok I think I'm on the way to a work around but needs some help, I have did a loop of get data from listbox and then download the files to a tmp dir. the onlu problem is I have to tell it the filename to save as how could make it save that file as that file name? Like "http://host.com/0409200205496ie.th.png" save as 0409200205496ie.th.png? Then I could do a thumblist of the tmp dir, and empty the dir, on close. Thanks!!

Mina
04-10-2006, 05:50 PM
Hi.
To make things easier, I think you should download the images somewhere onto your hard disk. Then, load them into a thumblist object, and the rest.

As for getting the 'filename', try using
A = String.SplitPath(B);
Filename = A.Filename

where the variable B holds the string location of your image.
e.g "C:\\Program Files\\My Product\\MyFile.ext"