LoadFromDirectory

Discussions about document viewing.
Post Reply
PQSIK
Posts: 50
Joined: Wed Oct 21, 2009 7:26 pm

LoadFromDirectory

Post by PQSIK » Sat May 14, 2011 2:54 am

Hi there,

When I use thumbnail1.LoadFromDirectory(Path Here)

I only see the paths to the files not the thumbnails.

Is there some property I'm missing to show the thumbnail images?

Thanks

pqsik

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: LoadFromDirectory

Post by Loïc » Sat May 14, 2011 10:28 am

Hi pqsik,

How are you ? I made a try and all seems to work as expected.
Are you using the latest version ? Maybe the ThumbnailEx control is in a specific configuration, IE PauseThumnailLoading to True ?

Kind regards,

Loïc

PQSIK
Posts: 50
Joined: Wed Oct 21, 2009 7:26 pm

Re: LoadFromDirectory

Post by PQSIK » Sat May 14, 2011 4:41 pm

Thanks for your reply Loic,

I downloaded 7.4.0.8 today and I tried the PauseThumbsLoading true and false. I still don't see the thumbnails,

If you look at the attached image you can see there is a file that's not a image.

All I want to do is load images from a directory into the thumbnail viewer. Not having much luck with gdpictures :(

I'm not sure what else I can do.

Thanks
Attachments
Thumbnails.png

PQSIK
Posts: 50
Joined: Wed Oct 21, 2009 7:26 pm

Re: LoadFromDirectory

Post by PQSIK » Sun May 15, 2011 11:17 pm

I found the problem,

Once I commented this code i show the images

Code: Select all

Dim t As New Themed
If t.IsVisualStylesEnabled Then
     Application.EnableVisualStyles()
     Application.DoEvents()
End
Thanks

pqsik

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests