In my app I've got the main form and an options form.
I click the options button on the main form, it opens and I have one combobox containing websites.
If I change the website in the combobox and close the form, then click the button on the main form to httprequest to the newly selected website, it works!
Hallelujah!
But I thought I would need to reload my.settings on the main form for it to recognise the changes, but apparently not. This would suggest that every time a httprequest is made it queries the my.settings file again!... surely not?
On the options form closing event I simply have;
I did initiate my.settings.reload() on the main form after making configuration changes, but it doesn't seem to need it. Surely my.settings are kept in memory at runtime and should need a reload every time a value is rewritten to the my.settings file?
If that doesn't make sense I apologise.
Cheers
Danny
I click the options button on the main form, it opens and I have one combobox containing websites.
If I change the website in the combobox and close the form, then click the button on the main form to httprequest to the newly selected website, it works!
Hallelujah!
But I thought I would need to reload my.settings on the main form for it to recognise the changes, but apparently not. This would suggest that every time a httprequest is made it queries the my.settings file again!... surely not?
On the options form closing event I simply have;
VB.NET:
my.settings.somevalue = combobox.selecteditem.tostring
my.settings.save()
I did initiate my.settings.reload() on the main form after making configuration changes, but it doesn't seem to need it. Surely my.settings are kept in memory at runtime and should need a reload every time a value is rewritten to the my.settings file?
If that doesn't make sense I apologise.
Cheers
Danny