07-29-2007, 05:31 AM
Ok, got the macro to get the variables from ini via "rget" using individual rget statements. This works fine, but feel free to let me know if there's a downside to this method, or if using IStringMap, standard arrays, or other method makes more sense..
Still need help/recommendations here (rephrased from earlier post):
I don't want to let the end user in this case be able to muck about in the ini file (which could prove disastrous). What's the best way to prevent user access to the ini file's data? I should mention that, if/when changes in the ini are required, I would do them remotely and the end user would initiate an "update" routine in the macro to pull the new ini off my FTP.
I haven't quite graduated to using encryption yet, so if that's the best method, can you please help me with a simple example of using rget with an encrypted ini?
Thanks,
Steve
-------------
If it's relevant (or helps others), here is an example of the rget code in the macro:
...and the corresponding bit in "app.ini" text file:
Still need help/recommendations here (rephrased from earlier post):
I don't want to let the end user in this case be able to muck about in the ini file (which could prove disastrous). What's the best way to prevent user access to the ini file's data? I should mention that, if/when changes in the ini are required, I would do them remotely and the end user would initiate an "update" routine in the macro to pull the new ini off my FTP.
I haven't quite graduated to using encryption yet, so if that's the best method, can you please help me with a simple example of using rget with an encrypted ini?
Thanks,
Steve
-------------
If it's relevant (or helps others), here is an example of the rget code in the macro:
str udir pubdir editor
rget(udir "udir" "varis" "C:\app.ini")
rget(pubdir "pubdir" "varis" "C:\app.ini")
rget(editor "editor" "varis" "C:\app.ini")...and the corresponding bit in "app.ini" text file:
