This is a quite strange problem. I have set a setting variable in Application settings with following data:
- Name: county
- Type: integer
- Scope: user
- Value: 0
Yet when I reference it with this statement: MsgBox(My.MySettings.Default.county)
It alerts 1
. Despite being the first to be executed as soon as form loads.