HellVeN Posted May 21, 2005 Posted May 21, 2005 I was wondering what the best place to store images for my program would be. Should I put it in the project folder? Quote
HellVeN Posted May 21, 2005 Author Posted May 21, 2005 Ok from what I've heard I think I'm meant to store stuff in the bin folder of the application folder. Is that right and if so how do I access it from within my code without having the full path? Quote
thenerd Posted May 21, 2005 Posted May 21, 2005 Application.startuppath will return the location of the .exe (Which is the bin folder) so you'd simply need to do Application.startuppath & "\myimage.bmp" to get an image out of the folder. Quote
Leaders snarfblam Posted May 21, 2005 Leaders Posted May 21, 2005 You might also want to consider embedding resources. It's nicer to distribute a single file when possible. Quote [sIGPIC]e[/sIGPIC]
Wile Posted May 21, 2005 Posted May 21, 2005 What is more important, with embedded resources users cant (accidentally) delete them causing a crash in your application if you don't handle it. There are still enough users that think they can be 'helpfull' by deleting files that dont seem to be used anymore. Quote Nothing is as illusive as 'the last bug'.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.