Results 1 to 5 of 5

Thread: my.settings frustration

  1. #1

    Thread Starter
    Fanatic Member kevin_sauerwald's Avatar
    Join Date
    Feb 2002
    Location
    outside Philly
    Posts
    516

    my.settings frustration

    I use mysettings for my program.. when its an exe it seems to keep all the
    values.. but when I run it from day to day in debug all the settings
    go bye bye.. they usually last for the day..

    there some setting to make it keep the settings when debugging from day to
    day and not have to re-enter.. ?

    or are they tied to some app id and when I run again that changes ?

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: my.settings frustration

    I can't say that I have an answer as to why you are getting this behavior, but I can tell you that I am using My.Settings in debug without it behaving in the way you describe. Therefore, it suggests that you are doing something that you are either not intending, or not realizing.
    My usual boring signature: Nothing

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: my.settings frustration

    They are usually tied to a version number. Are you incrementing the version of your app?

  4. #4

    Thread Starter
    Fanatic Member kevin_sauerwald's Avatar
    Join Date
    Feb 2002
    Location
    outside Philly
    Posts
    516

    Re: my.settings frustration

    I'm not knowingly changing the version.. maybe there is some setting
    that changes on every run ? hmmm...

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: my.settings frustration

    It shouldn't. They did in VS2003 but starting with 2005 the default version number is 1.0.0.0 and won't change unless you change it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width