When I start the program, all the registers are zero.
If I hit 'load registers', they are restored fine.
But if I miss by a millimetre and hit save - doesn't that throw away hours of work?
The registers are saved in the file MODDATA.DAT in the same directory as the program. So it may be a good idea to back up this file if it contains lots of changes. You can use a CSV import to set the registers and save this which gives you lots of options for revisions. I will consider adding a confirmation message box to the first two button options in my next program revision.
There is a "Load register values on startup" option box when you use the fourth button as shown on the attached screen shot.
Thank you for all of your very good comments. Doug Lyons
Thank you - I had missed the 'at startup' button - that fixes my nervousness, though yes a .bak or a manual archive would be a good thing too.
Just to be a devil's advocate - why would you NOT want to restore the last settings at start-up?
I believe that people who write stuff have great difficulty un-knowing what they know, and there's nothing like a newbie to ask the obvious, or show you what the man in the street doesn't have at their fingertips.
Also on my own stuff I greatly appreciate having possible gotchas and improvements suggested to me - it's easy to plough the furrow you have got used to, rather than sit back and say "how would this work in a better world?"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The registers are saved in the file MODDATA.DAT in the same directory as the program. So it may be a good idea to back up this file if it contains lots of changes. You can use a CSV import to set the registers and save this which gives you lots of options for revisions. I will consider adding a confirmation message box to the first two button options in my next program revision.
There is a "Load register values on startup" option box when you use the fourth button as shown on the attached screen shot.
Thank you for all of your very good comments. Doug Lyons
Thank you - I had missed the 'at startup' button - that fixes my nervousness, though yes a .bak or a manual archive would be a good thing too.
Just to be a devil's advocate - why would you NOT want to restore the last settings at start-up?
I believe that people who write stuff have great difficulty un-knowing what they know, and there's nothing like a newbie to ask the obvious, or show you what the man in the street doesn't have at their fingertips.
Also on my own stuff I greatly appreciate having possible gotchas and improvements suggested to me - it's easy to plough the furrow you have got used to, rather than sit back and say "how would this work in a better world?"