05-01-2008 07:10 AM
05-01-2008 07:17 AM
Hi Bedair,
if you create an executable, all blockdiagrams will be removed, so you can´t change any constants. If you make controls of your constants, then you can set a start value before you create the executable. So if the user has to change one of them he/she has to do it every time.
I recommend to use an ini file, for example the ini which will build with the executable. There you can define your values and load them at the beginning. You can create your own format, so that you can´t change this values without a special editor. You can insert this editor to your application and only allowed people can use this editor, so you have your security level.
Hope this helps.
Mike
05-01-2008 07:30 AM
05-02-2008 06:37 AM
05-02-2008 06:46 AM
05-02-2008 06:57 AM
05-02-2008 07:07 AM - edited 05-02-2008 07:09 AM
05-02-2008 07:11 AM - edited 05-02-2008 07:12 AM
Bedair wrote:
Hello TWGomez,This seems like a good idea, but I am afraid the user will have to enter the values everytime the application initializes, is there a way that will save the constants entered by the user on a previous event ?!
Just save them to a config file and load them at start-up. Only need to do a new save if they modify the values.
EDIT: And you can roll out a default config file with the default values when you create the executable/installer.
05-02-2008 08:39 AM
05-02-2008 11:21 AM