Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
382 views
in Technique[技术] by (71.8m points)

vb.net winform how to read .settings file

i am using Visual studio 2019. when creating vb.net winform project, I already add file name settings.settings in my root folder.

now, how can i read and write this settings.settings file just like when using my.settings command (when using setting inside project properties).

question from:https://stackoverflow.com/questions/65888529/vb-net-winform-how-to-read-settings-file

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

i want to share this setting file between 3 exe program. if using my.settings, each exe got it own app.settings.

i think there must be a reason VS2019 put settings as add option in project builder. if it cannot be use, then VS2019 should not list out this file under add new items. it just i don't know how to read and write this file.enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...