I always thought that if you had say an image control on a form, that the file you set as the Picture property was automatically picked up when building the project into an exe, but it's not happening.
I'm not sure about the image control, but it's certainly the case with the Picture property in command buttons and some other controls. If you leave the images out of the project, they won't be included in the build but no error is generated. When the user runs the app, they just see a blank button.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
I'm with Mike on this one. Even though you point to an image file in some control, building the project won't automatically include the image.
Not sure whether this is an asset or a detriment though, as images such as logos and so on could be somewhat dynamic. But I think there should be a choice.
Personally, I'd rather have images behave just like any other file in this respect.
I've come unstuck more than once over this ... delivered an application that worked beautifully on my system, only to find blank buttons when viewed by the user.
I once went as far as to write a little program that lists all the images required by the application, and checks to see if they are present in a designated folder. (If anyone would like a copy, I'll dig it out.)
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.