Results 1 to 3 of 3

Thread: [2005] Application Settings Blank After Restart?

  1. #1

    Thread Starter
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    [2005] Application Settings Blank After Restart?

    I have an application that I wrote that uses the My.Application.Settings to store information. I have also set this application to run on startup by adding it to the registry start up.

    When I restart my computer the application starts up after the OS starts but it doesn't seem to load the Application Settings, I know this because some of the information from the appication settings is necessary for this application to run.

    Now if I close the application and restart it, it loads the application settings and starts up correctly.

    Is there anyway to combat this problem?

    C# - .NET 1.1 / .NET 2.0

    "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something."
    _____________________
    Regular Expressions Library
    Connection String
    API Functions
    Database FAQ & Tutorial

  2. #2
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Re: [2005] Application Settings Blank After Restart?

    it doesn't seem to load the Application Settings
    How do you know it doesn't load the application Settings?

  3. #3

    Thread Starter
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    Re: [2005] Application Settings Blank After Restart?

    Because I have error checking done to start the application on startup. I have predefiend text boxes that pull data from the application settings. And they are blank.

    C# - .NET 1.1 / .NET 2.0

    "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something."
    _____________________
    Regular Expressions Library
    Connection String
    API Functions
    Database FAQ & Tutorial

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