J
Just_a_fan
I save some data to an array in my program. I can reopen the setting
screen and see that the data is, in fact, in the array.
I then do a lot of these:
My.Settings.Brkr1 = BreakerAmps(1)
My.Settings.Brkr2 = BreakerAmps(2)
My.Settings.Brkr3 = BreakerAmps(3)
My.Settings.Brkr4 = BreakerAmps(4)
My.Settings.Brkr5 = BreakerAmps(5)
then I do a: My.Settings.Save
after all of the My.Settings commands and exit the program.
On the way in next time, I do:
BreakerAmps(1) = CInt(My.Settings.Brkr1)
BreakerAmps(2) = CInt(My.Settings.Brkr2)
BreakerAmps(3) = CInt(My.Settings.Brkr3)
BreakerAmps(4) = CInt(My.Settings.Brkr4)
BreakerAmps(5) = CInt(My.Settings.Brkr5)
and when I get to my settings screen, they are back to the default that
was entered when I set up the settings entries by hand.
I tried doing a My.Settings.Reload during the invocation just in case
but it made no different.
Ideas?
Where can I see the "persistent" values so help find the problem area.
My MSDN help is still broken via the VS help system. Says it is down
(does not seem to be) or my User/PW is broken (but does not let me
reenter it) so getting help got just that much harder and it was already
hard enough!
Mike Morrow
MMSA00E62537
screen and see that the data is, in fact, in the array.
I then do a lot of these:
My.Settings.Brkr1 = BreakerAmps(1)
My.Settings.Brkr2 = BreakerAmps(2)
My.Settings.Brkr3 = BreakerAmps(3)
My.Settings.Brkr4 = BreakerAmps(4)
My.Settings.Brkr5 = BreakerAmps(5)
then I do a: My.Settings.Save
after all of the My.Settings commands and exit the program.
On the way in next time, I do:
BreakerAmps(1) = CInt(My.Settings.Brkr1)
BreakerAmps(2) = CInt(My.Settings.Brkr2)
BreakerAmps(3) = CInt(My.Settings.Brkr3)
BreakerAmps(4) = CInt(My.Settings.Brkr4)
BreakerAmps(5) = CInt(My.Settings.Brkr5)
and when I get to my settings screen, they are back to the default that
was entered when I set up the settings entries by hand.
I tried doing a My.Settings.Reload during the invocation just in case
but it made no different.
Ideas?
Where can I see the "persistent" values so help find the problem area.
My MSDN help is still broken via the VS help system. Says it is down
(does not seem to be) or my User/PW is broken (but does not let me
reenter it) so getting help got just that much harder and it was already
hard enough!
Mike Morrow
MMSA00E62537