General information
Category:
ActiveX controls in 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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only