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?