hi, in my application I use some images as image well and when compiled they are in the resource file.
what i want is a method to hide these files from resource file so anyone can delete o replace them.
where I can put my pictures?
thanks
hi, in my application I use some images as image well and when compiled they are in the resource file.
what i want is a method to hide these files from resource file so anyone can delete o replace them.
where I can put my pictures?
thanks
You are on OS X ? Certainly.
Store them in a folder - using your application name - and get them back using
MyAppDataFI = SpecialFolders.ApplicationData.Chrild("My Application")
Then use a loop to load the images from there using:
APict = Picture.Open(MyAppDataFI.TrueItem(Index))
FI stands for FolderItem
Replace “My Application
” with your application name.
You may create a global property (FolderItem) and fill it with a reference of your ApplicationData folder (your images repository) at application load time. So, no need to do it elsewhere (but check if not nil before use).
All of these from memory, must works, but
Also, lurker, express yourself if I’m wrong.
Store them in a database (encrypted if you want) and load as required.
You are right Markus !
A single cup of McDonalds coffe was not enough ! I was thinking at the reverse: allowing the user to see the images !