Do you have correct data types in the "settings" properties of the project? It looks like SET20 needs to be a string and SET21 an integer. Sorry if this is obvious stuff that you have already checked. I've only just recently used My.Settings for the first time Also, I assume you have My.Settings.Save somewhere ...