Now that would be neat :)
Ah, found the place where you can install to Appdata path. That answers my question. Now i can install and uninstall these settings too. No need to create the stuff from within the app. Thanks :)
Printable View
Now that would be neat :)
Ah, found the place where you can install to Appdata path. That answers my question. Now i can install and uninstall these settings too. No need to create the stuff from within the app. Thanks :)
No, the Create Directory action will create the directory only if it doesn't exist. And the Set Current File action doesn't modify the file.Quote:
Yves, I like this idea, but everytime the application runs, will it keep creating the sub directory and overwriting the ini?
When you execute old applications on Vista, they are executed in compatibility mode. In this mode, you can write files to the Program Files directory : in fact the files are stored by Vista in another directory, but displayed as if they were in the Program Files directory.Quote:
Originally Posted by Tiles
If you have created your MMF application with MMF 1, MMF2 will set the Vista Execution Level of your MFA file to "None" when you load the CCA file, for compatibility reasons. I.e. your application will still be considered as an "old" application by Vista, so it will be able to save files (virtually) in its install directory.
New applications created with MMF2 have the Execution Level set to "As invoker" by default (in the properties of the application). In this mode, and if the UAC mode is enabled on the user's machine (99% of the Vista machines I suppose), your application won't be able to write to system folders like Program Files. In this mode, you have to save files to the Application Data folder.
You can also force the Execution Level to "None", but it's not recommended.
Yes, if you want to save a file, you should save it in the Application Data folder.Quote:
By the way, what about an array? Do i also officially need to save it to the Appdatadirectory?
Thanks for clarification Yves. I will store the Inis, Arrays and anything else saverelated for future projects in the Appdata direction :)
"Ini++ can automatically put it in this folder, too. However, currently it is only the base folder. Future versions will allow you to specify a subdirectory to put it in."
Just remembered you can actually. The filename can have seperators in it and folders are still made automatically. Clever me.