Thumbnails with GFlax.dll

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

Quero
Posts: 3
Joined: Sun Jun 13, 2010 10:53 am

Thumbnails with GFlax.dll

Post by Quero »

Hallo Folks,

I wish to show from anykind of file a thumbnail in my vb6-Programm.

With docx I will get an error.

Here is my code:

Code: Select all

Option Explicit
Dim Ctrl As GflAx.GflAx


Private Sub Form_Load()
Set Ctrl = New GflAx.GflAx
Ctrl.UseEmbeddedThumbnail = True
Ctrl.LoadThumbnail "C:\Dokumente und Einstellungen\myUser\Eigene Dateien\Demo.docx", Image1.Width, Image1.Height
Image1.Picture = Ctrl.GetPicture

End Sub
With pdf is working fine. But for MS-Office-Files not.

Can anybode help me?
In XnView the thumbnails will show absolut correctly.

Thanks.
Quero
User avatar
xnview
Author of XnView
Posts: 45579
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Thumbnails with GFlax.dll

Post by xnview »

Sorry you but GFLAx can only make thumbnail for picture file
Pierre.
Quero
Posts: 3
Joined: Sun Jun 13, 2010 10:53 am

Re: Thumbnails with GFlax.dll

Post by Quero »

Thanks for your information.

I hope I can solved my problem with the dsole.dll (Link: http://www.microsoft.com/downloads/deta ... layLang=en).

Thanks for all.

Quero