Thumbnails with GFlax.dll

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

Moderators: XnTriq, xnview

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

Thumbnails with GFlax.dll

Post by Quero » Sun Jun 13, 2010 11:30 am

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: 31504
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Thumbnails with GFlax.dll

Post by xnview » Mon Jun 14, 2010 8:49 am

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 » Mon Jun 14, 2010 10:39 am

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

Post Reply