Im saving using notepad but i searched a video for saving i decided to to do what it was in this video and it work fine. this is helpful than saving in a notepad because i can only access the notepad on my current cumputer but i cannot access it in other cumputer. That is why im your new Subcriber.. I Like Subcribe And turn the notification Thanks Alot for this video you deserve more Subs!
Ok... but if I have 2 projects... like UI layer and DAL layer... how can I share the same configuration between them, for exemple, a string connection ?
Hi, thanks for this video. I have a question about it. Is possible to save more information, like in excel tab? There will be a button to create new rows and when someone fill some row and save with savebutton, there will be that information after new open that form. How to do it? Thank you much.
Buddy, one Question! What about if my default value is an integer ??? I mean , my var is an integer and i should read this value to the textbox and save in the default settings...
Great work fine I have been trying to add a checkBox i have not been able to save it I have tried in settings changing the type to bool also any help would be appreciated
Hello Fabio,thank you for share your videos.ı want to ask question,ı have project and when ı will be in the form and ı will close application then ı will open my applicaiton again ı want to take my last form.how can ı do this?For example;if ı have form1,form2.. and ı m in the form2 close application and open back ı wanna see form2 .how can ı do this?
Hello, How do I add a checkbox to the project? If its checked then it saves the information when the button is click. And if not checked then the settings in the properties will be blank so if they click on save and reopen the program it be blank.
Hello, Fabio. Im newbie in C#. I want to ask. I write game and there is user records like amount of wins, lose and draw. It's variables. How can i do so, if those variable changed during game i need write to them new amounts and they must be shown on the next game start?
Yes the information is stored in an xml file type. The location of the user.config file is %userprofile%\AppData\Local or %userprofile%\Local Settings\Application Data And search for your application name
You can't. You can save information in a text file in temp folder for example. And read it whenever your application needs access to user data. Or save information in windows registry. And you can retrieve it with ease.
This example is really very helpful, simply and shortly is described what I vas looking for. Thank you and good luck
This was very close to my requirement & was very helpful.
Im saving using notepad but i searched a video for saving i decided to to do what it was in this video and it work fine. this is helpful than saving in a notepad because i can only access the notepad on my current cumputer but i cannot access it in other cumputer. That is why im your new Subcriber.. I Like Subcribe And turn the notification
Thanks Alot for this video you deserve more Subs!
Thanks Fabio for this amazing work. Keep it up buddy.
this is truly helpful for me, thank you so much
Just what I needed... thanks for the tutorial!
Nice short tutorial, helps me further on my project !
Great work. Keep it up
Join our Discord server to continue the conversation and ask questions:
discord.gg/T3sMnxY
thank you Fabio....it very very helpful for me..thank you soo much.. keep sharing good stuff....
thanks a lot , it's helpful in 2022
Thank you very much! Exactly what I needed for my game I coded.
Thx man, you helped me a lot.
Great job on these youtube videos! Very thought out and step by step instructions.
Finally so how..Tested, all works fine. Thank you man.
Thank you very much :)... That's really improve my programme :)
Thanks for that easy tutorial ! it helped me a lot !!
i now use this method for saving the user credentials !!! :D
Thanks for this brief and informative tutorial!
Thanks. I was stuck, and this got me started.
Great video. Thank you, it helped me a lot!
Thank you very much!
Join our Discord server to continue the conversation and ask questions:
discord.gg/T3sMnxY
EXCELENT TUTORIAL !
Really cool tutorial, quite usefull.
thank you, helped me a lot
Awesome! Thank you for watching.
Can you join our programming team "Programming World" ?
Thank you :)
Thanks for the help
Join our Discord server to continue the conversation and ask questions:
discord.gg/T3sMnxY
thank you very much, it was really easy to understand and helpfull.
Cheers!
dude.. really helpful. thanks a bunch!
Thanks!
Thanks mate, that was awesome!
Ok... but if I have 2 projects... like UI layer and DAL layer... how can I share the same configuration between them, for exemple, a string connection ?
thanks for your tutorial, It's useful!
Thank You, You are the best!!!!!!!!
Thats awesome tysm!!!!!
Join our Discord server to continue the conversation and ask questions:
discord.gg/T3sMnxY
So Helpful, thanks
Very nice, thanx for this! ;)
Very Much helpful Bro
]
You helped me alot :) Thanks :)
Thanks!, I like your channel.
I love u bro!
Thanks a ton! :) You deserve more subs!
Awesome, Thanks a million :D
Excelent!
Hi, thanks for this video. I have a question about it. Is possible to save more information, like in excel tab? There will be a button to create new rows and when someone fill some row and save with savebutton, there will be that information after new open that form. How to do it? Thank you much.
Not sure how I got here, but I might be using this in the future so thanks
Thanks for you video :)
Thanks.
really i dnt know how to tell thanks for thiss....its really nice....
Genius! Thanks!
Buddy, one Question! What about if my default value is an integer ??? I mean , my var is an integer and i should read this value to the textbox and save in the default settings...
Very helpful! Thanks
Perfect, thanks
Good tutorial please post more.
thankssss.. very nice tutorial.
Great work fine I have been trying to add a checkBox i have not been able to save it I have tried in settings changing the type to bool also any help would be appreciated
Really Great
nice tutorials mehn...do you have any thing on XML user settings ....u the best man....keep it up
Hello Fabio,thank you for share your videos.ı want to ask question,ı have project and when ı will be in the form and ı will close application then ı will open my applicaiton again ı want to take my last form.how can ı do this?For example;if ı have form1,form2.. and ı m in the form2 close application and open back ı wanna see form2 .how can ı do this?
Hello, How do I add a checkbox to the project? If its checked then it saves the information when the button is click. And if not checked then the settings in the properties will be blank so if they click on save and reopen the program it be blank.
Thank you very much! I'll make this video on Russian )
this is great. thx.
U saved me
Thank you
YES! THANO YOU SO MUCH OMFH
very very nice
Thank you!!!
Love ya♥
Fabio, onde essa informacao fica armazenada ?
Thanks Bro,
Awesome tutorial but I can't understand how to move the config file in different location?
Join our Discord server to continue the conversation and ask questions:
discord.gg/T3sMnxY
This works, but is there a way to save numericUpDown like this too?
Thanks man!!! :D
*_-AWESOME-_*
thanks
Hello, Fabio. Im newbie in C#. I want to ask. I write game and there is user records like amount of wins, lose and draw. It's variables. How can i do so, if those variable changed during game i need write to them new amounts and they must be shown on the next game start?
every time it changes update it?
Hi, I've got this to work, but I can't get it to work for numericUpDown. Is there any way to do this?
How do you do it like open a different form...
Thanks you
How do I save an image?
Where these settings are stored? if i delete application will settings still some where on my computer like in registery?
Yes, in appdata folder
how to set dictionary in settings?
How to Save User Settings from Child Class?
Non-invocable member 'SaveUserSettings.Properties.Settings.Default' cannot be used like a method... :(
Making a blacklist system that blacklists forever unless reinstalled. Hope it works
Join our Discord server to continue the conversation and ask questions:
discord.gg/T3sMnxY
thanx
Thank you...
is the user settings saved in an xml file? what file is it saved in?
Yes the information is stored in an xml file type.
The location of the user.config file is
%userprofile%\AppData\Local
or
%userprofile%\Local Settings\Application Data
And search for your application name
try to change the type of the setting not to String, try the Int32 or Double.
Hey look guys its toni cipriani from gta lc
This is the kind of stuff that should make it into textbooks! But it doesn't...
how can you refresh your form automatically so that you dont have to exit to see the changes?
Write a Refresh Method. In this case:
protected void Refresh()
{
button1.text = Settings.Default["Button"].ToString();
this.text = Settings.Default["Title"].ToString();
}
Kare'Z Art'S i tried to put protected void refresh() like you did but it give me error ; expected
@@donstart4363 just add a ; at the end
How to change the directory of the settings file
You can't.
You can save information in a text file in temp folder for example. And read it whenever your application needs access to user data.
Or save information in windows registry. And you can retrieve it with ease.
thanks its great..... can you add some more vidio about how to add product key ....
Can you also show how to save user credentials such as user name and password
savingusersettings namespace not found
any help
projectname.Properties ;)
This guy kinda looks like Omni... -_-
Do you speak portuguese? brazilian portuguese? you sound like a brazilian
Yes, I do. :)
@@afonsosalbrecht thx thx! :)
whelp I am a dummy, cheers
But what is saved is not displayed in the settings window of the studio itself. Dislike for wasted time.
Join our Discord server to continue the conversation and ask questions:
discord.gg/T3sMnxY
Thank you so much!
Thank you so very much. Helped alot