Information générale
Catégorie:
Contrôles ActiveX en VFP
>I am trying to use the Toolbar and the Imagelist ActiveX controls in a form. I have read everyone's advice concerning the programming involved for VFP.
>
>My form works well when it is executed within VFP. However, the form does not work when I compile it into an .APP or an .EXE. When I execute it, I get an OLE error (#1426 - OLE error code 0x800a01e1: Unknown COM status code). The error occurs at the .Add method of ListImages.
>
You get this error message when you include the .BMp files that you use LoadPicture with in the .EXE. Exclude your graphics files from the project, and put them in a directory that the ap has access to, and it should work.
BOb
Précédent
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