Hi,
I can't find the reason why the users have to declare or not the writing of the configuration file.
Usually, if you want to write into the file you have to declare it at the beggining when you opening the file. Then when you closing you just disposing the reference. That is the default thing for all language environments. So why complicating the thing?
It causes a lot of hidden problems because it usualy work on the development machines and on the deployment machines it doesn't work as the folders in Program Files are usually read only. That makes the debugging difficult and itself is unnecessary problem.
Usualy, users know upfront what for they are opening the files, so why ask them at the end instead at the beggining? Additionaly, the Open Config Data.vi is testing indirectly the writeablity asking for creating the files if necassary,
so again, why to declare it at the end?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.