[Gambas-user] Storing picture data in a collection

Benoit Minisini gambas at ...1...
Mon Feb 27 20:05:00 CET 2006


On Monday 27 February 2006 19:54, GuruLounge - MailLists wrote:
> Well, I'll be damned.  It seems you were right.  I went to a lot of
> trouble to add images that were... well, already added to the project.
> I simply had them stored under the project "data" folder under "images"
> and they seem to get compiled into the project automatically.  I created
> an executable and ran it on another machine where the images don't exist
> and they were displayed.  So much for all that.
>
>
>
> I simple didn't realize that everything in the project gets compiled
> into the project.  Is this so?
>
> Jeff
>

Yes. Welcome to Gambas :-)

When you make an executable, you get one unique file that is in fact an 
uncompressed archive of all compiled file and data file of your project.

You can put any file in your project, not only images.

You access a file located in your project by using relative paths.

Regards,

-- 
Benoit Minisini





More information about the User mailing list