>I have a form, I drop an imagelist on the form and put 2 images into it.
>
>I drop two command buttons on the form, and I set the imagelist of the buttons to the form's imagelist. I set the image of the two buttons.
>
>I see the image on the design surface, but when I run the app, the images are not visible.
>
>The images are included in the project, but not as a resource.
>
>Any ideas?
>
>Thanks,
Ric,
The executable is run from the bin folder which is a different relative path to the original image files. If the images will not be included in the compiled exe, you will have to make allowances for the path difference in your code.
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