Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Document Thumbnail/Preview
Message
De
01/10/2002 09:02:01
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00705305
Message ID:
00706312
Vues:
21
Alexander, sorry of not providing this essential piece of the problem before. It happens in the Click event and the line is:

ThisForm.olecontrol1.document.Thumbnail.DisplayFile(lcFile)

A thought had occurred to me that I don't have the required ActiveX control on this NT computer. I tried the same code on an XP computer and it worked (at least it didn't crash and could show some Word doc thumbs and BMPs). Do you know if this control is/should be installed with NT4.0? If it is missing, do you know how I could get it installed?

Thanks,

Mike.

>>Hi Alexander,
>>
>>I tried to run you code below to preview a thumbnail of a Word document but VFP keeps crashing with:
>>
>>"OLE error code 0x80020006:Unknown name."
>>
>>I am running VFP7 under Window NT4. Any idea why this problem occurs for me?
>
>On which line of code this error occurs?
>
>Alexander
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform