A
AGP
VB.NET 2005
I've been working extensively with saving and loading my settings via the
My.Settings class. its worked out great except that i cant figure out how to
set a default setting that is dynamic. That is to say, the default property
changes per user or per machine. As an example, and this is only an example,
the default setting for the center of the screen. In the IDE I can set the
parameter as
ScreenCenter | System.Drawing.Point | User | "0,0"
the default here being 0,0 as i cant make that value dyanmic in the IDE.
Once the user has used the program and then closed then the actual value
gets updated and the default is no longer used. Is there a way to override
the deafult value with a dynamic value that is determined on startup. I have
more settings like this that need a default value to be determined
dynamically. In VB6 I could call the INI API and give it a default value
that could be dynamically determined. i was hoping there was also a
mechanism like this in VB.NET.
tia
AGP
I've been working extensively with saving and loading my settings via the
My.Settings class. its worked out great except that i cant figure out how to
set a default setting that is dynamic. That is to say, the default property
changes per user or per machine. As an example, and this is only an example,
the default setting for the center of the screen. In the IDE I can set the
parameter as
ScreenCenter | System.Drawing.Point | User | "0,0"
the default here being 0,0 as i cant make that value dyanmic in the IDE.
Once the user has used the program and then closed then the actual value
gets updated and the default is no longer used. Is there a way to override
the deafult value with a dynamic value that is determined on startup. I have
more settings like this that need a default value to be determined
dynamically. In VB6 I could call the INI API and give it a default value
that could be dynamically determined. i was hoping there was also a
mechanism like this in VB.NET.
tia
AGP