Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement