Home All Groups Group Topic Archive Search About

Problems with settings.

Author
12 Dec 2006 9:14 AM
Stefano
Good morning to all.

Why when I change the version for my application or login (on the client
pc) by another user the settings are lost ?

I have read about the update method but not understand how it can be used ?
Anyone have used this ?

Thank you.
Stefano

p.s. And sorry for my english.

Author
12 Dec 2006 10:32 PM
DanielReis
Could you be more specific, please?

DanyR.

Show quoteHide quote
"Stefano" wrote:

> Good morning to all.
>
> Why when I change the version for my application or login (on the client
> pc) by another user the settings are lost ?
>
> I have read about the update method but not understand how it can be used ?
> Anyone have used this ?
>
> Thank you.
> Stefano
>
> p.s. And sorry for my english.
>
Author
13 Dec 2006 9:28 AM
Stefano
DanielReis ha scritto:
> Could you be more specific, please?
>
> DanyR.

In each vb 2005 program I made, whenever is installed on client pc, if
you login (in windows) by using account that was used to install the
program, all settings are loaded.

If you login by using another account all settings are lost and need to
be set another time.

I have read that exists only application and user settings, application
type are not lost by changing user but I cannot modify using
my.settings........=......

Thank.
Stefano.
Author
13 Dec 2006 5:18 PM
DanielReis
Well,

Perhaps you aren’t shipping the app.config file. This file stores among
other things the user and application settings.

DanyR


Show quoteHide quote
"Stefano" wrote:

> DanielReis ha scritto:
> > Could you be more specific, please?
> >
> > DanyR.
>
> In each vb 2005 program I made, whenever is installed on client pc, if
> you login (in windows) by using account that was used to install the
> program, all settings are loaded.
>
> If you login by using another account all settings are lost and need to
> be set another time.
>
> I have read that exists only application and user settings, application
> type are not lost by changing user but I cannot modify using
> my.settings........=......
>
> Thank.
> Stefano.
>
Author
13 Dec 2006 11:55 PM
RobinS
You can't do this with user-level settings. You have to use
application-level settings. As you've already figured out.

I think app-level settings are stored in app.config.
Maybe you could open it and modify the values.
It's probably in XML.

Robin S.
----------------------------------
Show quoteHide quote
"Stefano" <assiste***@euroged.it> wrote in message
news:%23T$WRkpHHHA.1008@TK2MSFTNGP06.phx.gbl...
> DanielReis ha scritto:
>> Could you be more specific, please?
>>
>> DanyR.
>
> In each vb 2005 program I made, whenever is installed on client pc, if
> you login (in windows) by using account that was used to install the
> program, all settings are loaded.
>
> If you login by using another account all settings are lost and need
> to be set another time.
>
> I have read that exists only application and user settings,
> application type are not lost by changing user but I cannot modify
> using my.settings........=......
>
> Thank.
> Stefano.