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
Can anybode help me?
In XnView the thumbnails will show absolut correctly.
Thanks.
Quero