Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Including images in project build

Status
Not open for further replies.

StewartUK

Programmer
Feb 19, 2001
860
GB
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.

Can anyone confirm or deny that?

Thanks,

Stewart
 
Stewart,

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)

My Visual FoxPro site: www.ml-consult.co.uk
 
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.



-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Dave,

Not sure whether this is an asset or a detriment though

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)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top