|
I am having a problem with my properties settings variables not working like they are supposed to.EX:
my.settings.demo=true ' 'code... ' my.settings.democount+=1 ' 'code.... ' my.settings.save
The next time I run the program from the IDE, debugging it, I check the properties settings for democount and it is still set to zero, but when I run the program from the IDE, it has been incremented like I expected. What I didn't expect was that when I went to reset it in properties settings, it was still zero, but not in the actual program. I have tried clicking on Syncronize, but it does not help. The propert settings change and are saved correctly, I just don't seem to be able to see their current values in the IDE , as they all look as though they have never been changed from when I set them initially. I am confused. Am I doing something wrong? Maybe I simply don't understand how they work.
What I want to do is this: Set my demo variable to true in properties settings and have the demo counter incremented whenever they run the program. Then when I want to reset the democount for the next user it is already setting at zero, (the initial value), so I can't change it. What now? |