Page 1 of 1

Resource Question

Posted: Thu Aug 05, 2010 6:02 pm
by Krisko
Hi all I want to ask you smth about resources. Let's say that I have a program with 2 buttons.
1-Open
2-Save
And when I press the Save button, then then program will input in it's resources a simple txt file for example. And when I press the Open button than the program will open all files in the resources. My question is how to make my program to add in it's resources files or something during work time(when I use it and when I want to add something in it) and to save/hold them in it even when I close it. And when I run it again to can open all new resources. Is it possible? :?

Re: Resource Question

Posted: Fri Aug 06, 2010 6:03 am
by PyroStrex
In Windows Resources, There are more information than just a text. When you input the .txt file you want it to be in what type of resource? Data or String? It is possible to get all the data in the whole resource but you need some advanced windows resources knowledge though :P. Before, what i do is, find a resource editor source code and port it to PureBasic code :D.. Sorry for not helping enough though..

Edit: For the "During work time" issue, i don't think it is possible though..